com.bstek.dorado.view.socket
public interface Socket
Modifier and Type | Method and Description |
---|---|
void |
addConnectionListener(SocketConnectionListener listener) |
void |
addReceiveListener(SocketReceiveListener listener) |
void |
addSendListener(SocketSendListener listener) |
void |
disconnect() |
java.lang.String |
getId() |
boolean |
isConnected() |
Message |
receive() |
void |
removeConnectionListener(SocketConnectionListener listener) |
void |
removeReceiveListener(SocketReceiveListener listener) |
void |
removeSendListener(SocketSendListener listener) |
void |
send(Message message) |
java.lang.String getId()
boolean isConnected()
void send(Message message) throws java.lang.Exception
java.lang.Exception
Message receive() throws java.lang.Exception
java.lang.Exception
void disconnect() throws java.lang.Exception
java.lang.Exception
void addSendListener(SocketSendListener listener)
void removeSendListener(SocketSendListener listener)
void addReceiveListener(SocketReceiveListener listener)
void removeReceiveListener(SocketReceiveListener listener)
void addConnectionListener(SocketConnectionListener listener)
void removeConnectionListener(SocketConnectionListener listener)
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.