com.bstek.dorado.view.longpolling
public class LongPollingSocket extends AbstractSocket
Constructor and Description |
---|
LongPollingSocket() |
Modifier and Type | Method and Description |
---|---|
void |
addSendListener(SocketSendListener listener) |
void |
disconnect() |
void |
disconnect(boolean sendTerminateMessage) |
java.lang.String |
getId() |
long |
getLastAccess() |
long |
getResponseDelay() |
boolean |
isConnected() |
void |
push(Message message) |
Message |
receive() |
void |
send(Message message) |
void |
setResponseDelay(long responseDelay) |
void |
updateLastAccess() |
addConnectionListener, addReceiveListener, fireDisconnect, fireReceive, fireSend, getBindingObject, removeConnectionListener, removeReceiveListener, removeSendListener, setBindingObject
public long getLastAccess()
public void updateLastAccess()
public java.lang.String getId()
public boolean isConnected()
public long getResponseDelay()
public void setResponseDelay(long responseDelay)
public void addSendListener(SocketSendListener listener)
addSendListener
in interface Socket
addSendListener
in class AbstractSocket
public void send(Message message) throws java.lang.Exception
java.lang.Exception
public void push(Message message)
public Message receive() throws java.lang.Exception
java.lang.Exception
public void disconnect() throws java.lang.Exception
java.lang.Exception
public void disconnect(boolean sendTerminateMessage) throws java.lang.Exception
java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.