mail.test
Class TestAddress

java.lang.Object
  extended by mail.test.TestAddress
All Implemented Interfaces:
Address

public class TestAddress
extends java.lang.Object
implements Address

Author:
Arne Müller

Field Summary
(package private)  java.lang.String name
           
 
Constructor Summary
TestAddress(java.lang.String s)
           
 
Method Summary
 java.lang.String getName()
           
 Address getSource()
          specifies the Address of the Node, that told this Address (needed for UDP hole-punching to establish a UDP connection)
 java.lang.String send()
           
 void setSource(Address source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

java.lang.String name
Constructor Detail

TestAddress

public TestAddress(java.lang.String s)
Method Detail

send

public java.lang.String send()
Specified by:
send in interface Address

getName

public java.lang.String getName()

getSource

public Address getSource()
Description copied from interface: Address
specifies the Address of the Node, that told this Address (needed for UDP hole-punching to establish a UDP connection)

Specified by:
getSource in interface Address

setSource

public void setSource(Address source)
Specified by:
setSource in interface Address