|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.interfaceware.chameleon.Client
public class Client
This class allows you to connect to hosts and send messages
Constructor Summary | |
---|---|
Client()
Create a Client |
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 table handle. |
void |
OnClose(int TransportId)
called when a connection closes |
void |
OnConnect(int TransportId)
called when a connection has been established |
void |
OnMessage(int TransportId,
java.lang.String Message)
called when a message arrives |
void |
OnTransportError(int TransportId,
int ErrorId,
java.lang.String ErrorMessage)
called when an error occurs |
void |
SendMessage(java.lang.String Message)
Send a message |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Client()
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 void SendMessage(java.lang.String Message) throws ChameleonException
ChameleonException
public void CloseConnection() throws ChameleonException
ChameleonException
public void OnClose(int TransportId)
public void OnMessage(int TransportId, java.lang.String Message)
public void OnTransportError(int TransportId, int ErrorId, java.lang.String ErrorMessage)
public void OnConnect(int TransportId)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |