public abstract class ObjectAsyncSocketConnection extends QueuingAsyncSocketConnection implements ObjectSocket
MAX_Q_SIZE_BYTES, readQueue, wrapper, writeQueuechan, isClosed, key, myActor, readBuf, theExecutingThread, writePromise, writingBuffer| Constructor and Description |
|---|
ObjectAsyncSocketConnection(org.nustaq.serialization.FSTConfiguration conf,
SelectionKey key,
SocketChannel chan) |
ObjectAsyncSocketConnection(SelectionKey key,
SocketChannel chan) |
| Modifier and Type | Method and Description |
|---|---|
void |
dataReceived(org.nustaq.offheap.BinaryQueue q) |
void |
flush() |
org.nustaq.serialization.FSTConfiguration |
getConf() |
int |
getId() |
Throwable |
getLastError() |
abstract void |
receivedObject(Object o) |
void |
setConf(org.nustaq.serialization.FSTConfiguration conf)
set by outer machinery
|
void |
setLastError(Throwable ex) |
void |
writeObject(Object o) |
checkQSize, dataReceived, tryFlush, write, write, write, writecanWrite, checkThread, close, closed, directWrite, isClosedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanWrite, close, getConnectionIdentifier, isClosedpublic ObjectAsyncSocketConnection(SelectionKey key, SocketChannel chan)
public ObjectAsyncSocketConnection(org.nustaq.serialization.FSTConfiguration conf,
SelectionKey key,
SocketChannel chan)
public void setConf(org.nustaq.serialization.FSTConfiguration conf)
ObjectSocketsetConf in interface ObjectSocketpublic org.nustaq.serialization.FSTConfiguration getConf()
getConf in interface ObjectSocketpublic void dataReceived(org.nustaq.offheap.BinaryQueue q)
dataReceived in class QueuingAsyncSocketConnectionpublic int getId()
getId in interface ObjectSocketpublic abstract void receivedObject(Object o)
public void writeObject(Object o)
writeObject in interface ObjectSocketpublic void flush()
throws IOException,
Exception
flush in interface ObjectSocketIOExceptionExceptionpublic Throwable getLastError()
getLastError in interface ObjectSocketpublic void setLastError(Throwable ex)
setLastError in interface ObjectSocketCopyright © 2019. All rights reserved.