org.glassfish.grizzly.websockets
Class BaseNetworkHandler

java.lang.Object
  extended by org.glassfish.grizzly.websockets.BaseNetworkHandler
All Implemented Interfaces:
NetworkHandler
Direct Known Subclasses:
ServerNetworkHandler

public abstract class BaseNetworkHandler
extends Object
implements NetworkHandler


Field Summary
protected  Buffer buffer
           
 
Constructor Summary
BaseNetworkHandler()
           
 
Method Summary
 List<String> getBytes()
           
 String readLine(String encoding)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.glassfish.grizzly.websockets.NetworkHandler
get, get, ready, write
 

Field Detail

buffer

protected Buffer buffer
Constructor Detail

BaseNetworkHandler

public BaseNetworkHandler()
Method Detail

readLine

public String readLine(String encoding)
                throws IOException
Specified by:
readLine in interface NetworkHandler
Throws:
IOException

getBytes

public List<String> getBytes()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 Oracle Corporation. All Rights Reserved.