|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.SoftWoehr.JTOpenContrib.connectionmgr.ServiceHash
Constructor Summary | |
ServiceHash()
Creates new ServiceHash |
Method Summary | |
boolean |
anyServiceClients(com.ibm.as400.access.AS400 as400,
int service)
Are any clients left of system as400 using service service? |
void |
clear()
Clear all keys |
boolean |
containsServer(com.ibm.as400.access.AS400 as400)
Contains reference to the identical unique AS400 object |
boolean |
containsServiceRecord(ServiceRecord key)
Contains the server named? |
java.util.Enumeration |
elements()
Enumeration of elements elements |
com.ibm.as400.access.AS400 |
get(ServiceRecord key)
Get a server by name |
boolean |
isEmpty()
Is empty? |
java.util.Enumeration |
keys()
All service records |
com.ibm.as400.access.AS400 |
put(ServiceRecord key,
com.ibm.as400.access.AS400 object)
Map in an object |
com.ibm.as400.access.AS400 |
remove(ServiceRecord key)
Remove a server by name |
int |
size()
Number of elements |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServiceHash()
Method Detail |
public void clear() throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException
- public com.ibm.as400.access.AS400 put(ServiceRecord key, com.ibm.as400.access.AS400 object)
key
- object
- public com.ibm.as400.access.AS400 get(ServiceRecord key)
key
- public com.ibm.as400.access.AS400 remove(ServiceRecord key)
key
- The service record to removepublic boolean containsServiceRecord(ServiceRecord key)
key
- public boolean containsServer(com.ibm.as400.access.AS400 as400)
as400
- public boolean anyServiceClients(com.ibm.as400.access.AS400 as400, int service)
as400
- An AS400 system which might currently be connected.service
- One of the AS400 service constants.public int size()
public java.util.Enumeration keys()
public java.util.Enumeration elements()
public boolean isEmpty()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |