tigase.io
Interface IOInterface

All Known Implementing Classes:
SocketIO, TLSIO, ZLibIO

public interface IOInterface

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

Version:
$Rev$
Author:
Artur Hefczyc

Method Summary
 int bytesRead()
           
 int getInputPacketSize()
           
 SocketChannel getSocketChannel()
           
 void getStatistics(StatisticsList list)
           
 boolean isConnected()
           
 boolean isRemoteAddress(String addr)
           
 ByteBuffer read(ByteBuffer buff)
           
 void stop()
           
 boolean waitingToSend()
           
 int waitingToSendSize()
           
 int write(ByteBuffer buff)
           
 

Method Detail

getSocketChannel

SocketChannel getSocketChannel()

stop

void stop()
          throws IOException
Throws:
IOException

isConnected

boolean isConnected()

write

int write(ByteBuffer buff)
          throws IOException
Throws:
IOException

read

ByteBuffer read(ByteBuffer buff)
                throws IOException
Throws:
IOException

bytesRead

int bytesRead()

getInputPacketSize

int getInputPacketSize()
                       throws IOException
Throws:
IOException

waitingToSend

boolean waitingToSend()

waitingToSendSize

int waitingToSendSize()

isRemoteAddress

boolean isRemoteAddress(String addr)

getStatistics

void getStatistics(StatisticsList list)


Copyright © 2001-2006 Tigase Developers Team. All rights Reserved.