|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fusesource.stompjms.client.StompProtocolCodec
public class StompProtocolCodec
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.fusesource.stompjms.client.transport.ProtocolCodec |
|---|
ProtocolCodec.BufferState |
| Constructor Summary | |
|---|---|
StompProtocolCodec()
|
|
| Method Summary | |
|---|---|
ProtocolCodec.BufferState |
flush()
Attempts to complete the previous write which did not complete. |
boolean |
full()
Is the codec's buffer full? |
int |
getLastReadSize()
|
int |
getLastWriteSize()
|
int |
getReadBufferSize()
|
long |
getReadCounter()
|
int |
getWriteBufferSize()
|
long |
getWriteCounter()
|
boolean |
is_empty()
|
java.lang.Object |
read()
Non-blocking channel based decoding. |
void |
setReadableByteChannel(java.nio.channels.ReadableByteChannel channel)
|
void |
setWritableByteChannel(java.nio.channels.WritableByteChannel channel)
|
void |
unread(org.fusesource.hawtbuf.Buffer buffer)
Pushes back a buffer as being unread. |
ProtocolCodec.BufferState |
write(java.lang.Object value)
Non-blocking channel based encoding. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StompProtocolCodec()
| Method Detail |
|---|
public void setWritableByteChannel(java.nio.channels.WritableByteChannel channel)
throws java.net.SocketException
setWritableByteChannel in interface ProtocolCodecjava.net.SocketExceptionpublic int getReadBufferSize()
getReadBufferSize in interface ProtocolCodecpublic int getWriteBufferSize()
getWriteBufferSize in interface ProtocolCodecpublic boolean full()
ProtocolCodec
full in interface ProtocolCodecpublic boolean is_empty()
public long getWriteCounter()
getWriteCounter in interface ProtocolCodecpublic int getLastWriteSize()
getLastWriteSize in interface ProtocolCodec
public ProtocolCodec.BufferState write(java.lang.Object value)
throws java.io.IOException
ProtocolCodec
write in interface ProtocolCodecjava.io.IOException
public ProtocolCodec.BufferState flush()
throws java.io.IOException
ProtocolCodec
flush in interface ProtocolCodecjava.io.IOException
public void setReadableByteChannel(java.nio.channels.ReadableByteChannel channel)
throws java.net.SocketException
setReadableByteChannel in interface ProtocolCodecjava.net.SocketExceptionpublic void unread(org.fusesource.hawtbuf.Buffer buffer)
ProtocolCodec
unread in interface ProtocolCodecpublic long getReadCounter()
getReadCounter in interface ProtocolCodecpublic int getLastReadSize()
getLastReadSize in interface ProtocolCodec
public java.lang.Object read()
throws java.io.IOException
ProtocolCodec
read in interface ProtocolCodecjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||