org.gudy.azureus2.pluginsimpl.local.messaging
Class GenericMessageEndpointImpl

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.messaging.GenericMessageEndpointImpl
All Implemented Interfaces:
GenericMessageEndpoint

public class GenericMessageEndpointImpl
extends java.lang.Object
implements GenericMessageEndpoint


Constructor Summary
GenericMessageEndpointImpl(ConnectionEndpoint _ce)
           
GenericMessageEndpointImpl(java.net.InetSocketAddress _ne)
           
 
Method Summary
 void addTCP(java.net.InetSocketAddress target)
           
 void addUDP(java.net.InetSocketAddress target)
           
protected  ConnectionEndpoint getConnectionEndpoint()
           
 java.net.InetSocketAddress getNotionalAddress()
           
 java.net.InetSocketAddress getTCP()
           
 java.net.InetSocketAddress getUDP()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericMessageEndpointImpl

public GenericMessageEndpointImpl(ConnectionEndpoint _ce)

GenericMessageEndpointImpl

public GenericMessageEndpointImpl(java.net.InetSocketAddress _ne)
Method Detail

getNotionalAddress

public java.net.InetSocketAddress getNotionalAddress()
Specified by:
getNotionalAddress in interface GenericMessageEndpoint

getConnectionEndpoint

protected ConnectionEndpoint getConnectionEndpoint()

addTCP

public void addTCP(java.net.InetSocketAddress target)
Specified by:
addTCP in interface GenericMessageEndpoint

getTCP

public java.net.InetSocketAddress getTCP()
Specified by:
getTCP in interface GenericMessageEndpoint

addUDP

public void addUDP(java.net.InetSocketAddress target)
Specified by:
addUDP in interface GenericMessageEndpoint

getUDP

public java.net.InetSocketAddress getUDP()
Specified by:
getUDP in interface GenericMessageEndpoint