org.glassfish.grizzly.websockets
Interface NetworkHandler

All Known Implementing Classes:
BaseNetworkHandler, ServerNetworkHandler

public interface NetworkHandler


Method Summary
 byte get()
           
 byte[] get(int count)
           
 java.lang.String readLine(java.lang.String encoding)
           
 boolean ready()
           
 void write(byte[] bytes)
           
 

Method Detail

get

byte get()

get

byte[] get(int count)

write

void write(byte[] bytes)

ready

boolean ready()

readLine

java.lang.String readLine(java.lang.String encoding)
                          throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011 Oracle Corpration. All Rights Reserved.