public abstract class WSAbstractObjectSocket extends Object implements org.nustaq.kontraktor.remoting.ObjectSocket
| Modifier and Type | Field and Description |
|---|---|
protected org.nustaq.serialization.FSTConfiguration |
conf |
protected byte[] |
nextRead |
| Constructor and Description |
|---|
WSAbstractObjectSocket(org.nustaq.serialization.FSTConfiguration conf)
its expected conf has special registrations such as Callback and remoteactor ref
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
Object |
readObject() |
void |
setLastError(Exception ex) |
void |
setNextMsg(byte[] b) |
abstract void |
writeObject(Object toWrite) |
protected org.nustaq.serialization.FSTConfiguration conf
protected byte[] nextRead
public WSAbstractObjectSocket(org.nustaq.serialization.FSTConfiguration conf)
conf - public void setNextMsg(byte[] b)
public Object readObject() throws Exception
readObject in interface org.nustaq.kontraktor.remoting.ObjectSocketExceptionpublic abstract void writeObject(Object toWrite) throws Exception
writeObject in interface org.nustaq.kontraktor.remoting.ObjectSocketExceptionpublic void flush()
throws IOException
flush in interface org.nustaq.kontraktor.remoting.ObjectSocketIOExceptionpublic void setLastError(Exception ex)
setLastError in interface org.nustaq.kontraktor.remoting.ObjectSocketpublic void close()
throws IOException
close in interface org.nustaq.kontraktor.remoting.ObjectSocketIOExceptionCopyright © 2014. All rights reserved.