|
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 stream
public 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 stream| Method Detail |
public java.lang.Object queryObject(java.lang.Object sent)
throws java.lang.Exception
queryObject in interface AdapterBasejava.lang.Exceptionpublic boolean isConnected()
isConnected in interface AdapterBase
public void connect(ConnectInfo info)
throws java.lang.Exception
connect in interface AdapterBaseinfo - -the connection info
java.lang.Exception
public void disconnect()
throws java.io.IOException
disconnect in interface AdapterBasejava.io.IOException
public void reloadProperties()
throws java.lang.Exception
reloadProperties in interface AdapterBasejava.lang.Exception
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface AdapterBaseclone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic boolean isAbstractConnection()
isAbstractConnection in interface AdapterBasepublic 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 | |||||||||