org.protocol
Interface Connection

All Known Implementing Classes:
SimpleUDPConnection

public interface Connection


Method Summary
 java.net.InetSocketAddress getRemoteAddress()
           
 java.lang.String receive()
           
 void send(java.lang.String message)
           
 

Method Detail

getRemoteAddress

java.net.InetSocketAddress getRemoteAddress()

send

void send(java.lang.String message)
          throws java.lang.Exception
Throws:
java.lang.Exception

receive

java.lang.String receive()
                         throws java.lang.Exception
Throws:
java.lang.Exception