|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.adventnet.management.transport.TcpClientTransportImpl
Client side implementation of the TransportProvider interface that creates a client session for communicating with the server. This implementation provides TCP/IP as the lower layer transport.
Constructor Summary | |
TcpClientTransportImpl()
Default constructor that creates an instance of this class. |
Method Summary | |
void |
close()
Closes the transport interface after communication is over. |
void |
init(java.lang.Object[] params)
Initializes the TCP Socket over which the data is sent/received. |
SessionTransportProvider |
open(java.lang.String[] params)
Creates an instance of the client session object and returns a handle to it. |
void |
setLogInterface(LogInterface logInterface)
Sets the logInterface to the specified one if any. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TcpClientTransportImpl()
Method Detail |
public void init(java.lang.Object[] params) throws TransportException
init
in interface TransportProvider
params
- parameters that are used for creating the client session.
TransportException
- in case of an error during initializing the
transport interface.public SessionTransportProvider open(java.lang.String[] params) throws TransportException
open
in interface TransportProvider
params
- parameters that are used for creating the client session.
TransportException
- in case of an error during opening the
transport interface.public void close() throws TransportException
close
in interface TransportProvider
TransportException
- in case of an error during closing.public void setLogInterface(LogInterface logInterface)
setLogInterface
in interface TransportProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |