org.lastbamboo.common.tcp.frame
Class TcpFrameEncoder

java.lang.Object
  extended by org.lastbamboo.common.tcp.frame.TcpFrameEncoder

public class TcpFrameEncoder
extends Object

Encoder for framed TCP messages, as defined in RFC 4571.


Constructor Summary
TcpFrameEncoder()
           
 
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
 

Constructor Detail

TcpFrameEncoder

public TcpFrameEncoder()
Method Detail

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.