com.sun.grizzly.websockets
Interface NetworkHandler

All Known Implementing Classes:
ClientNetworkHandler, NioClientNetworkHandler, ServerNetworkHandler

public interface NetworkHandler


Method Summary
 byte get()
           
 boolean peek(byte... b)
           
 void send(DataFrame frame)
           
 void setWebSocket(WebSocket webSocket)
           
 

Method Detail

send

void send(DataFrame frame)
          throws IOException
Throws:
IOException

setWebSocket

void setWebSocket(WebSocket webSocket)

get

byte get()
         throws IOException
Throws:
IOException

peek

boolean peek(byte... b)
             throws IOException
Throws:
IOException


Copyright © 2011 Oracle Corpration. All Rights Reserved.