Class SendToPeer
java.lang.Object
SendToPeer
- 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>
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 |
SendToPeer
public SendToPeer()
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