|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.interfaceware.chameleon.Hl7ClientSocket
public class Hl7ClientSocket
This class is deprecated and should not be used.
Constructor Summary | |
---|---|
Hl7ClientSocket()
Create a Client for outgoing connections. |
|
Hl7ClientSocket(long TransportId_)
Create a Client from a received connnection. |
Method Summary | |
---|---|
void |
closeConnection()
Close a connection |
void |
connect(java.lang.String Host,
int Port)
Connect to a remote host. |
protected void |
finalize()
Frees the connection handle. |
java.lang.String |
getAddress()
Get the IP Address as a string |
int |
getIp()
Get the raw IP Address |
void |
onClose(long TransportId)
Called when a connection closes |
void |
onConnect(long TransportId)
Called when a connection has been established |
void |
onMessage(long TransportId,
java.lang.String Message)
Called when a message arrives |
void |
onTransportError(long TransportId,
int ErrorId,
java.lang.String ErrorMessage)
Called when an error occurs |
void |
sendMessage(java.lang.String Message)
Send a message |
static void |
stopNetworkingThread()
Call this method to stop the networking thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Hl7ClientSocket()
ChameleonException
public Hl7ClientSocket(long TransportId_)
ChameleonException
Method Detail |
---|
protected void finalize() throws ChameleonException
finalize
in class java.lang.Object
ChameleonException
public void connect(java.lang.String Host, int Port) throws ChameleonException
ChameleonException
public int getIp()
ChameleonException
public java.lang.String getAddress()
ChameleonException
public void sendMessage(java.lang.String Message) throws ChameleonException
ChameleonException
public void closeConnection() throws ChameleonException
ChameleonException
public void onClose(long TransportId)
public void onMessage(long TransportId, java.lang.String Message)
public void onTransportError(long TransportId, int ErrorId, java.lang.String ErrorMessage)
public void onConnect(long TransportId)
public static void stopNetworkingThread() throws ChameleonException
ChameleonException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |