org.jboss.netty.handler.codec.frame
类 Delimiters

java.lang.Object
  继承者 org.jboss.netty.handler.codec.frame.Delimiters

public class Delimiters
extends java.lang.Object

A set of commonly used delimiters for DelimiterBasedFrameDecoder.


方法摘要
static ChannelBuffer[] lineDelimiter()
          Returns CR ('\r') and LF ('\n') delimiters, which could be used for text-based line protocols.
static ChannelBuffer[] nulDelimiter()
          Returns a NUL (0x00) delimiter, which could be used for Flash XML socket or any similar protocols.
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

nulDelimiter

public static ChannelBuffer[] nulDelimiter()
Returns a NUL (0x00) delimiter, which could be used for Flash XML socket or any similar protocols.


lineDelimiter

public static ChannelBuffer[] lineDelimiter()
Returns CR ('\r') and LF ('\n') delimiters, which could be used for text-based line protocols.