tigase.io
Interface IOInterface

All Known Implementing Classes:
SocketIO, TLSIO

public interface IOInterface

Describe interface IOInterface here. Created: Sat May 14 08:07:38 2005

Version:
$Rev: 1681 $
Author:
Artur Hefczyc

Method Summary
 int bytesRead()
           
 int getInputPacketSize()
           
 java.nio.channels.SocketChannel getSocketChannel()
           
 boolean isConnected()
           
 java.nio.ByteBuffer read(java.nio.ByteBuffer buff)
           
 void stop()
           
 boolean waitingToSend()
           
 int waitingToSendSize()
           
 int write(java.nio.ByteBuffer buff)
           
 

Method Detail

getSocketChannel

java.nio.channels.SocketChannel getSocketChannel()

stop

void stop()
          throws java.io.IOException
Throws:
java.io.IOException

isConnected

boolean isConnected()

write

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

read

java.nio.ByteBuffer read(java.nio.ByteBuffer buff)
                         throws java.io.IOException
Throws:
java.io.IOException

bytesRead

int bytesRead()

getInputPacketSize

int getInputPacketSize()
                       throws java.io.IOException
Throws:
java.io.IOException

waitingToSend

boolean waitingToSend()

waitingToSendSize

int waitingToSendSize()


Copyright © 2009 Tigase. All Rights Reserved.