public abstract class WebObjectSocket extends Object implements org.nustaq.kontraktor.remoting.base.ObjectSocket
| Modifier and Type | Field and Description |
|---|---|
protected org.nustaq.serialization.FSTConfiguration |
conf |
protected boolean |
isClosed |
protected Throwable |
lastError |
protected List |
objects |
protected AtomicInteger |
sendSequence |
| Constructor and Description |
|---|
WebObjectSocket() |
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
org.nustaq.serialization.FSTConfiguration |
getConf() |
Throwable |
getLastError() |
protected int |
getObjectMaxBatchSize() |
AtomicInteger |
getSendSequence() |
boolean |
isClosed() |
abstract void |
sendBinary(byte[] message) |
void |
setConf(org.nustaq.serialization.FSTConfiguration conf) |
void |
setLastError(Throwable ex) |
void |
writeObject(Object toWrite) |
protected List objects
protected org.nustaq.serialization.FSTConfiguration conf
protected Throwable lastError
protected AtomicInteger sendSequence
protected volatile boolean isClosed
public AtomicInteger getSendSequence()
public void writeObject(Object toWrite) throws Exception
writeObject in interface org.nustaq.kontraktor.remoting.base.ObjectSocketExceptionprotected int getObjectMaxBatchSize()
public abstract void sendBinary(byte[] message)
public void flush()
throws Exception
flush in interface org.nustaq.kontraktor.remoting.base.ObjectSocketExceptionpublic void setLastError(Throwable ex)
setLastError in interface org.nustaq.kontraktor.remoting.base.ObjectSocketpublic Throwable getLastError()
getLastError in interface org.nustaq.kontraktor.remoting.base.ObjectSocketpublic void setConf(org.nustaq.serialization.FSTConfiguration conf)
setConf in interface org.nustaq.kontraktor.remoting.base.ObjectSocketpublic org.nustaq.serialization.FSTConfiguration getConf()
getConf in interface org.nustaq.kontraktor.remoting.base.ObjectSocketpublic boolean isClosed()
isClosed in interface org.nustaq.kontraktor.remoting.base.ObjectSocketCopyright © 2016. All rights reserved.