org.neo.swarm.util.network.tcp.client
Interface TcpSender

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
TcpAsyncSender

public interface TcpSender
extends java.io.Serializable


Method Summary
 void connect()
           
 void disconnect()
           
 boolean isConnected()
           
 void send(byte[] data)
           
 byte[] sendAndReceiveMessage(byte[] data)
           
 

Method Detail

connect

public void connect()
             throws java.io.IOException
Throws:
java.io.IOException

disconnect

public void disconnect()

send

public void send(byte[] data)
          throws java.io.IOException
Throws:
java.io.IOException

sendAndReceiveMessage

public byte[] sendAndReceiveMessage(byte[] data)
                             throws java.io.IOException
Throws:
java.io.IOException

isConnected

public boolean isConnected()


Copyright © 2001-2004 SWARM-ONE -First Generation (S)calable(W)ide(AR)ea(M)esh. All Rights Reserved.