|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.zos.toolkit.ClientAgentFactory
public class ClientAgentFactory
Factory pattern used to create new clients for connection to the server.
This is the starting point for Clients to communicate with the server.
Method Summary | |
---|---|
static ClientAgent |
newCachedClientAgent()
Create an instance of a cached ClientAgent used to communicate with the server. |
static ClientAgent |
newClientAgent(String server)
Create an uninitialized instance of an ClientAgent used to communicate with the server. |
static ClientAgent |
newClientAgent(String server,
int portNumber)
Create an uninitialized instance of an ClientAgent used to communicate with the server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ClientAgent newCachedClientAgent() throws GridException
GridException
- if not logged inpublic static ClientAgent newClientAgent(String server) throws GridConfigurationException
Credential
.
This connects on the default communication port (8100).
server
- the DNS name or IP address of the server
GridConfigurationException
public static ClientAgent newClientAgent(String server, int portNumber) throws GridConfigurationException
Credential
.
server
- the DNS name or IP address of the serverportNumber
- the port configured for client communications set
on the server
GridConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |