org.apache.catalina.cluster.io
Class ObjectReader

java.lang.Object
  extended byorg.apache.catalina.cluster.io.ObjectReader

public class ObjectReader
extends java.lang.Object


Constructor Summary
ObjectReader(java.nio.channels.SocketChannel channel, java.nio.channels.Selector selector, ListenCallback callback)
           
 
Method Summary
 int append(byte[] data, int off, int len)
           
 int execute()
           
 java.nio.channels.SocketChannel getChannel()
           
 int write(java.nio.ByteBuffer buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectReader

public ObjectReader(java.nio.channels.SocketChannel channel,
                    java.nio.channels.Selector selector,
                    ListenCallback callback)
Method Detail

getChannel

public java.nio.channels.SocketChannel getChannel()

append

public int append(byte[] data,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException

execute

public int execute()
            throws java.io.IOException
Throws:
java.io.IOException

write

public int write(java.nio.ByteBuffer buf)
          throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.