|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ros.internal.transport.ConnectionHeader
public class ConnectionHeader
Method Summary | |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
decode(org.jboss.netty.buffer.ChannelBuffer buffer)
Decodes a header that came over the wire into a Map of fields and
values. |
static org.jboss.netty.buffer.ChannelBuffer |
encode(java.util.Map<java.lang.String,java.lang.String> header)
Encodes a header Map of fields and values for transmission over the
wire. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Map<java.lang.String,java.lang.String> decode(org.jboss.netty.buffer.ChannelBuffer buffer)
Map
of fields and
values.
buffer
- the incoming ChannelBuffer
containing the header
Map
of header fields and valuespublic static org.jboss.netty.buffer.ChannelBuffer encode(java.util.Map<java.lang.String,java.lang.String> header)
Map
of fields and values for transmission over the
wire.
header
- a Map
of header fields and values
ChannelBuffer
containing the encoded header for wire
transmission
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |