|
DBAbstract API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ro.raducora.connection.client.tcp.ClientTCPAdapter
Constructor Summary | |
ClientTCPAdapter(ClientTCPProps props,
StreamEncryptionKey inkey,
StreamEncryptionKey outkey)
Constructor. |
|
ClientTCPAdapter(java.lang.String remoteHost,
int remotePort,
StreamEncryptionKey inkey,
StreamEncryptionKey outkey)
Constructor. |
Method Summary | |
java.lang.Object |
clone()
Clone supported |
void |
connect(ConnectInfo info)
Connects to Remote Source |
void |
disconnect()
Disconnect from remote source. |
java.lang.Object |
getConnectionStatus()
Gets the connection status returned by the connect method |
boolean |
isAbstractConnection()
Return true |
boolean |
isConnected()
|
java.lang.Object |
queryObject(java.lang.Object sent)
Query Object |
void |
reloadProperties()
Reloads the ClientTCPProps. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClientTCPAdapter(ClientTCPProps props, StreamEncryptionKey inkey, StreamEncryptionKey outkey)
props
- Client TCP propertiesinkey
- Decryption Key for input streamoutkey
- Encryption Key for output streampublic ClientTCPAdapter(java.lang.String remoteHost, int remotePort, StreamEncryptionKey inkey, StreamEncryptionKey outkey)
remoteHost
- Remote host to connect toremotePort
- Port to connect toinkey
- Decryption Key for input streamoutkey
- Encryption Key for output streamMethod Detail |
public java.lang.Object queryObject(java.lang.Object sent) throws java.lang.Exception
queryObject
in interface AdapterBase
java.lang.Exception
public boolean isConnected()
isConnected
in interface AdapterBase
public void connect(ConnectInfo info) throws java.lang.Exception
connect
in interface AdapterBase
info
- -the connection info
java.lang.Exception
public void disconnect() throws java.io.IOException
disconnect
in interface AdapterBase
java.io.IOException
public void reloadProperties() throws java.lang.Exception
reloadProperties
in interface AdapterBase
java.lang.Exception
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface AdapterBase
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public boolean isAbstractConnection()
isAbstractConnection
in interface AdapterBase
public java.lang.Object getConnectionStatus()
connect
method
getConnectionStatus
in interface AdapterBase
|
DBAbstract API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |