public abstract class TcpConnection extends Object
protected static Log
log
protected Session
session
protected long
timeout
TcpConnection(Session session)
TcpConnection(Session session, long timeout)
void
close()
closeNow()
int
getId()
Session
getSession()
boolean
isOpen()
Future<Object>
send(Object obj)
abstract void
send(Object obj, MessageReceivedCallback callback)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected static Log log
protected Session session
protected long timeout
public TcpConnection(Session session)
public TcpConnection(Session session, long timeout)
public Future<Object> send(Object obj)
public abstract void send(Object obj, MessageReceivedCallback callback)
public int getId()
public void close()
public void closeNow()
public boolean isOpen()
public Session getSession()
Copyright © 2016. All rights reserved.