Class SendToPeer

java.lang.Object
  extended bySendToPeer

public class SendToPeer
extends Object

This class is used for Caltella Peers to talk to each other. The actual sending is done by the Sender class.

See Also:
Caltella.org

Constructor Summary
SendToPeer()
           
 
Method Summary
 void send(String message, String address)
          This methode takes the address and sends the message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SendToPeer

public SendToPeer()
Method Detail

send

public void send(String message,
                 String address)
This methode takes the address and sends the message

Parameters:
message - A String to be send address A String in the from of host:port