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

Constructor Index

 o AdaptorClient()
Constructs an HTTP/UDP adaptor client.

Method Index

 o connect(Object, String, int, String)
Initializes the communication with the remote Managed Object Server.
 o createSocket()
For Java DMK internal use only.

Constructors

 o AdaptorClient
 public AdaptorClient()
Constructs an HTTP/UDP adaptor client.

Methods

 o createSocket
 public AdaptorSocket createSocket()
For Java DMK internal use only.

Overrides:
createSocket in class AdaptorClient
 o 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