org.objectweb.dream.channel
Interface DestinationSocketManager
- public interface DestinationSocketManager
Interface used by ChannelOut to retreive a socket to send a message to a
ChannelIn identified by it InetAddress
and is port.
getConnection
public ConnectionState getConnection(InetAddress address,
int port)
- Returns a connection that can be used to send message to the ChannelIn
identified by the given IP address and port.
- Parameters:
address
- the address of the ChannelIn.port
- the port of the ChannelIn.
- Returns:
- a connection to the ChannelIn.
Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.