org.lastbamboo.common.tcp.frame
Class TcpFrameEncoder
java.lang.Object
org.lastbamboo.common.tcp.frame.TcpFrameEncoder
public class TcpFrameEncoder
- extends Object
Encoder for framed TCP messages, as defined in RFC 4571.
|
Method Summary |
org.littleshoot.mina.common.ByteBuffer |
encode(TcpFrame frame)
Encodes the TCP frame into a ByteBuffer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcpFrameEncoder
public TcpFrameEncoder()
encode
public org.littleshoot.mina.common.ByteBuffer encode(TcpFrame frame)
- Encodes the TCP frame into a
ByteBuffer.
- Parameters:
frame - The frame to encode.
- Returns:
- The encoded frame in a
ByteBuffer.
Copyright © 2013 LittleShoot. All Rights Reserved.