org.eclipse.jetty.websocket
Interface WebSocketGenerator

All Known Implementing Classes:
WebSocketGeneratorD00, WebSocketGeneratorD06

public interface WebSocketGenerator

WebSocketGenerator.


Method Summary
 void addFrame(byte flags, byte opcode, byte[] content, int offset, int length, int maxIdleTime)
           
 int flush()
           
 int flush(int maxIdleTime)
           
 boolean isBufferEmpty()
           
 

Method Detail

flush

int flush()
          throws IOException
Throws:
IOException

isBufferEmpty

boolean isBufferEmpty()

addFrame

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

flush

int flush(int maxIdleTime)
          throws IOException
Throws:
IOException


Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.