All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.jaw.impl.adaptor.udp.AdaptorClient
java.lang.Object
|
+----com.sun.jaw.impl.adaptor.comm.AdaptorClient
|
+----com.sun.jaw.impl.adaptor.udp.AdaptorClient
- public class AdaptorClient
- extends AdaptorClient
-
AdaptorClient()
- Constructs an HTTP/UDP adaptor client.
-
connect(Object, String, int, String)
- Initializes the communication with the remote Managed Object Server.
-
createSocket()
- For Java DMK internal use only.
AdaptorClient
public AdaptorClient()
- Constructs an HTTP/UDP adaptor client.
createSocket
public AdaptorSocket createSocket()
- For Java DMK internal use only.
- Overrides:
- createSocket in class AdaptorClient
connect
public void connect(Object context,
String host,
int port,
String logicalName)
- Initializes the communication with the remote Managed Object Server.
- Parameters:
- context - used to provide the client's authentication info.
- host - host name of the server
- port - port number of the server
- logicalName - logical name of the server
- Throws: CommunicationException
- if there is a communication problem with the remote Managed Object Server.
- Throws: IllegalAccessException
- if managed objects cannot be accessed in the remote Managed Object Server.
- Throws: UnauthorizedSecurityException
- if the server cannot authenticate the client because the to client's
authentication info is invalid.
As UDP is connectionless, we must detect asap that the server is not
responding. So we modify the timoeut to a "not too short, not too long"
value.
- Overrides:
- connect in class AdaptorClient
All Packages Class Hierarchy This Package Previous Next Index