cnrg.itx.datax
Class ConnectionProperty
java.lang.Object
|
+--cnrg.itx.datax.ConnectionProperty
- public class ConnectionProperty
- extends java.lang.Object
Class to implement the properties of a connection. This will contain the properties
of all the channels that make up the connection.
Constructor Summary |
ConnectionProperty()
Default constructor for the ConnectionProperties object. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ConnectionProperty
public ConnectionProperty()
- Default constructor for the ConnectionProperties object.
addChannelProperty
public void addChannelProperty(ChannelProperty channelProperty)
- Method to add a channel property.
- Parameters:
channelProperty
- the property of a channel to add
getOptimalConnectionProperties
public ConnectionProperty getOptimalConnectionProperties(ConnectionProperty peerConnectionProperties)
- Method to find the optimal properties for two connection properties.
- Parameters:
peer
- the peer's connection properties- Returns:
- ConnectionProperties the optimal connection properties