org.eclipse.jetty.websocket
接口 WebSocketGenerator

所有已知子接口:
Extension
所有已知实现类:
AbstractExtension, DeflateFrameExtension, FragmentExtension, IdentityExtension, WebSocketGeneratorD00, WebSocketGeneratorD06, WebSocketGeneratorD08, WebSocketGeneratorRFC6455

public interface WebSocketGenerator

WebSocketGenerator.


方法摘要
 void addFrame(byte flags, byte opcode, byte[] content, int offset, int length)
           
 int flush()
           
 boolean isBufferEmpty()
           
 

方法详细信息

flush

int flush()
          throws IOException
抛出:
IOException

isBufferEmpty

boolean isBufferEmpty()

addFrame

void addFrame(byte flags,
              byte opcode,
              byte[] content,
              int offset,
              int length)
              throws IOException
抛出:
IOException


Copyright © 2013. All Rights Reserved.