Package org.jcsp.net2
Class NetChannelEnd
- java.lang.Object
-
- org.jcsp.net2.NetChannelEnd
-
public final class NetChannelEnd extends java.lang.Object
Deprecated.To conform with the core package naming scheme, the class NetChannel has also been providedA static factory object used to create networked channels. This class basically wraps around a StandardNetChannelEndFactory and allows static access to its channel creation methods.- See Also:
NetChannelEndFactory
,StandardNetChannelEndFactory
-
-
Field Summary
Fields Modifier and Type Field Description private static StandardNetChannelEndFactory
factory
Deprecated.The factory used to create the networked channels
-
Constructor Summary
Constructors Modifier Constructor Description private
NetChannelEnd()
Deprecated.Empty, private default constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static NetSharedChannelOutput
any2net(NetChannelLocation loc)
Deprecated.Creates a new NetSharedChannelOutput connected to the input end at the given locationstatic NetSharedChannelOutput
any2net(NetChannelLocation loc, int immunityLevel)
Deprecated.Creates a new NetSharedChannelOutput connected to the input end at the given location and with the given poison immunity levelstatic NetSharedChannelOutput
any2net(NetChannelLocation loc, int immunityLevel, NetworkMessageFilter.FilterTx filter)
Deprecated.Creates a new NetSharedChannelOutput connected to the input end with the given location and with the given immunity level, which uses the given filter to encode outgoing messages.static NetSharedChannelOutput
any2net(NetChannelLocation loc, NetworkMessageFilter.FilterTx filter)
Deprecated.Creates a new NetSharedChannelOutput connected to the input end with the given location, and uses the given filter to encode outgoing messagesstatic NetSharedChannelOutput
any2net(NodeAddress nodeAddr, int vcn)
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Nodestatic NetSharedChannelOutput
any2net(NodeAddress nodeAddr, int vcn, int immunityLevel)
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node which has the given poison immunitystatic NetSharedChannelOutput
any2net(NodeAddress nodeAddr, int vcn, int immunityLevel, NetworkMessageFilter.FilterTx filter)
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node that has the given poison immunity level and uses the given filter to encode outgoing messagesstatic NetSharedChannelOutput
any2net(NodeAddress nodeAddr, int vcn, NetworkMessageFilter.FilterTx filter)
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node which uses the given filter to encode outgoing messagesstatic NetSharedChannelOutput
any2net(NodeID nodeID, int vcn)
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Nodestatic NetSharedChannelOutput
any2net(NodeID nodeID, int vcn, int immunityLevel)
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node and the given poison immunitystatic NetSharedChannelOutput
any2net(NodeID nodeID, int vcn, int immunityLevel, NetworkMessageFilter.FilterTx filter)
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node, with the given poison immunity level, which uses the given filter to encode outgoing messagesstatic NetSharedChannelOutput
any2net(NodeID nodeID, int vcn, NetworkMessageFilter.FilterTx filter)
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node, which uses the given filter to encode outgoing messagesstatic NetSharedChannelOutput
createAny2Net(NetChannelLocation loc)
Deprecated.Use any2net insteadstatic NetSharedChannelInput
createNet2Any()
Deprecated.Use net2any insteadstatic NetAltingChannelInput
createNet2One()
Deprecated.Use net2one insteadstatic NetChannelOutput
createOne2Net(NetChannelLocation loc)
Deprecated.Use one2net insteadstatic NetSharedChannelInput
net2any()
Deprecated.Creates a new NetSharedChannelInputstatic NetSharedChannelInput
net2any(int immunityLevel)
Deprecated.Creates a new NetSharedChannelInput with the given poison immunity levelstatic NetSharedChannelInput
net2any(int immunityLevel, NetworkMessageFilter.FilterRx filter)
Deprecated.Creates a new NetSharedChannelInput with the given poison immunity level, which uses the given filter to decode messagesstatic NetSharedChannelInput
net2any(NetworkMessageFilter.FilterRx filter)
Deprecated.Creates a new NetSharedChannelInput which uses the given filter to decode incoming messagesstatic NetAltingChannelInput
net2one()
Deprecated.Creates a new NetAltingChannelInputstatic NetAltingChannelInput
net2one(int immunityLevel)
Deprecated.Creates a new NetAltingChannelInput with the given immunity level for poisonstatic NetAltingChannelInput
net2one(int immunityLevel, NetworkMessageFilter.FilterRx filter)
Deprecated.Creates a new NetAltingChannelInput with the given poison immunity level which uses the given filter to decode incoming messagesstatic NetAltingChannelInput
net2one(NetworkMessageFilter.FilterRx filter)
Deprecated.Creates a new NetAltingChannelInput which uses the given filter to decode incoming messagesstatic NetSharedChannelInput
numberedNet2Any(int index)
Deprecated.Creates a new NetSharedChannelInput with the given indexstatic NetSharedChannelInput
numberedNet2Any(int index, int immunityLevel)
Deprecated.Creates a new NetSharedChannelInput with the given index and poison immunity levelstatic NetSharedChannelInput
numberedNet2Any(int index, int immunityLevel, NetworkMessageFilter.FilterRx filter)
Deprecated.Creates a new NetSharedChannelInput with the given index and poison immunity level, which uses the given filter to decode incoming messages.static NetSharedChannelInput
numberedNet2Any(int index, NetworkMessageFilter.FilterRx filter)
Deprecated.Creates a new NetSharedChannelInput with the given index that uses the given filter to decode incoming messagesstatic NetAltingChannelInput
numberedNet2One(int index)
Deprecated.Creates a new NetAltingChannelInput with the given indexstatic NetAltingChannelInput
numberedNet2One(int index, int immunityLevel)
Deprecated.Creates a new NetAltingChannelInput with the given index and the given poison immunity levelstatic NetAltingChannelInput
numberedNet2One(int index, int immunityLevel, NetworkMessageFilter.FilterRx filter)
Deprecated.Creates a new NetAltingChannelInput with the given index and given poison immunity, which uses the given filter to decode incoming messagesstatic NetAltingChannelInput
numberedNet2One(int index, NetworkMessageFilter.FilterRx filter)
Deprecated.Creates a new NetAltingChannelInput with the given index that uses the given filter to decode incoming messagesstatic NetChannelOutput
one2net(NetChannelLocation loc)
Deprecated.Creates a new NetChannelOutput connected to the input end with the given NetChannelLocationstatic NetChannelOutput
one2net(NetChannelLocation loc, int immunityLevel)
Deprecated.Creates a new NetChannelOutput connected to the input end with the given NetChannelLocation, and having the given poison immunity levelstatic NetChannelOutput
one2net(NetChannelLocation loc, int immunityLevel, NetworkMessageFilter.FilterTx filter)
Deprecated.Creates a new NetChannelOutput connected to the given location with the given poison immunity level, and uses the given filter to encode outgoing messages.static NetChannelOutput
one2net(NetChannelLocation loc, NetworkMessageFilter.FilterTx filter)
Deprecated.Creates a new NetChannelOutput connected to the input end with the given NetChannelLocation, and uses the given filter to encode outgoing messagesstatic NetChannelOutput
one2net(NodeAddress nodeAddr, int vcn)
Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Nodestatic NetChannelOutput
one2net(NodeAddress nodeAddr, int vcn, int immunityLevel)
Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node with the given poison immunitystatic NetChannelOutput
one2net(NodeAddress nodeAddr, int vcn, int immunityLevel, NetworkMessageFilter.FilterTx filter)
Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node which has the given poison immunity and uses the given filter to encode outgoing messagesstatic NetChannelOutput
one2net(NodeAddress nodeAddr, int vcn, NetworkMessageFilter.FilterTx filter)
Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node which uses the given filter to encode outgoing messagesstatic NetChannelOutput
one2net(NodeID nodeID, int vcn)
Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Nodestatic NetChannelOutput
one2net(NodeID nodeID, int vcn, int immunityLevel)
Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node, and with the given poison immunity levelstatic NetChannelOutput
one2net(NodeID nodeID, int vcn, int immunityLevel, NetworkMessageFilter.FilterTx filter)
Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node, with the given poison immunity level and uses the given filter to encode outgoing messagesstatic NetChannelOutput
one2net(NodeID nodeID, int vcn, NetworkMessageFilter.FilterTx filter)
Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node, which uses the given filter to encode outgoing messages
-
-
-
Field Detail
-
factory
private static StandardNetChannelEndFactory factory
Deprecated.The factory used to create the networked channels
-
-
Method Detail
-
createNet2One
public static NetAltingChannelInput createNet2One()
Deprecated.Use net2one insteadCreates a new NetAltingChannelInput- Returns:
- A new NetAltingChannelInput
-
createNet2Any
public static NetSharedChannelInput createNet2Any()
Deprecated.Use net2any insteadCreates a new NetSharedChannelInput- Returns:
- A new NetSharedChannelInput
-
createOne2Net
public static NetChannelOutput createOne2Net(NetChannelLocation loc) throws JCSPNetworkException
Deprecated.Use one2net insteadCreates a new NetChannelOutput connected to the input channel end with the given location- Parameters:
loc
- The location to connect the output end to- Returns:
- A new NetChannelOutput connected to the input end at the given location
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
createAny2Net
public static NetSharedChannelOutput createAny2Net(NetChannelLocation loc) throws JCSPNetworkException
Deprecated.Use any2net insteadCreates a new NetSharedChannelOutput connected to the input end at the given location- Parameters:
loc
- The location to connect the output end to- Returns:
- A new NetSharedChannelOutput connected to the input end at the given location
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
net2one
public static NetAltingChannelInput net2one()
Deprecated.Creates a new NetAltingChannelInput- Returns:
- A new NetAltingChannelInput
-
net2one
public static NetAltingChannelInput net2one(int immunityLevel)
Deprecated.Creates a new NetAltingChannelInput with the given immunity level for poison- Parameters:
immunityLevel
- The immunity level for poison- Returns:
- A new NetAltingChannelInput
-
net2one
public static NetAltingChannelInput net2one(NetworkMessageFilter.FilterRx filter)
Deprecated.Creates a new NetAltingChannelInput which uses the given filter to decode incoming messages- Parameters:
filter
- The filter used to decode incoming messages- Returns:
- A new NetAltingChannelInput
-
net2one
public static NetAltingChannelInput net2one(int immunityLevel, NetworkMessageFilter.FilterRx filter)
Deprecated.Creates a new NetAltingChannelInput with the given poison immunity level which uses the given filter to decode incoming messages- Parameters:
immunityLevel
- The immunity level to poison for the created channelfilter
- The filter used to decode incoming messages- Returns:
- A new NetAltingChannelInput
-
net2any
public static NetSharedChannelInput net2any()
Deprecated.Creates a new NetSharedChannelInput- Returns:
- A new NetSharedChannelInput
-
net2any
public static NetSharedChannelInput net2any(int immunityLevel)
Deprecated.Creates a new NetSharedChannelInput with the given poison immunity level- Parameters:
immunityLevel
- The immunity level to poison for this channel- Returns:
- A new NetSharedChannelInput
-
net2any
public static NetSharedChannelInput net2any(NetworkMessageFilter.FilterRx filter)
Deprecated.Creates a new NetSharedChannelInput which uses the given filter to decode incoming messages- Parameters:
filter
- The filter used to decode incoming messages- Returns:
- A new NetSharedChannelInput
-
net2any
public static NetSharedChannelInput net2any(int immunityLevel, NetworkMessageFilter.FilterRx filter)
Deprecated.Creates a new NetSharedChannelInput with the given poison immunity level, which uses the given filter to decode messages- Parameters:
immunityLevel
- The immunity level to poison for this channelfilter
- The filter used to decode incoming messages- Returns:
- A new NetSharedChannelInput
-
numberedNet2One
public static NetAltingChannelInput numberedNet2One(int index) throws java.lang.IllegalArgumentException
Deprecated.Creates a new NetAltingChannelInput with the given index- Parameters:
index
- The index to create the channel with- Returns:
- A new NetAltingChannelInput
- Throws:
java.lang.IllegalArgumentException
- Thrown if a channel with the given index already exists
-
numberedNet2One
public static NetAltingChannelInput numberedNet2One(int index, int immunityLevel) throws java.lang.IllegalArgumentException
Deprecated.Creates a new NetAltingChannelInput with the given index and the given poison immunity level- Parameters:
index
- The index to create the channel withimmunityLevel
- The immunity to poison that the channel has- Returns:
- A new NetAltingChannelInput
- Throws:
java.lang.IllegalArgumentException
- Thrown if a channel with the given index already exists
-
numberedNet2One
public static NetAltingChannelInput numberedNet2One(int index, NetworkMessageFilter.FilterRx filter) throws java.lang.IllegalArgumentException
Deprecated.Creates a new NetAltingChannelInput with the given index that uses the given filter to decode incoming messages- Parameters:
index
- The index to create the channel withfilter
- The filter used to decode incoming messages- Returns:
- A new NetAltingChannelInput
- Throws:
java.lang.IllegalArgumentException
- Thrown if a channel with the given index already exists
-
numberedNet2One
public static NetAltingChannelInput numberedNet2One(int index, int immunityLevel, NetworkMessageFilter.FilterRx filter) throws java.lang.IllegalArgumentException
Deprecated.Creates a new NetAltingChannelInput with the given index and given poison immunity, which uses the given filter to decode incoming messages- Parameters:
index
- The index to create the channel withimmunityLevel
- The immunity to poison that the channel hasfilter
- The filter used to decode incoming messages- Returns:
- A new NetAltingChannelInput
- Throws:
java.lang.IllegalArgumentException
- Thrown if a channel with the given index already exists
-
numberedNet2Any
public static NetSharedChannelInput numberedNet2Any(int index) throws java.lang.IllegalArgumentException
Deprecated.Creates a new NetSharedChannelInput with the given index- Parameters:
index
- The index to create the channel with- Returns:
- A new NetSharedChannelInput
- Throws:
java.lang.IllegalArgumentException
- Thrown if a channel with the given index already exists
-
numberedNet2Any
public static NetSharedChannelInput numberedNet2Any(int index, int immunityLevel) throws java.lang.IllegalArgumentException
Deprecated.Creates a new NetSharedChannelInput with the given index and poison immunity level- Parameters:
index
- The index to create the channel withimmunityLevel
- The immunity to poison the channel has- Returns:
- A new NetSharedChannelInput
- Throws:
java.lang.IllegalArgumentException
- Thrown if a channel with the given index already exists
-
numberedNet2Any
public static NetSharedChannelInput numberedNet2Any(int index, NetworkMessageFilter.FilterRx filter) throws java.lang.IllegalArgumentException
Deprecated.Creates a new NetSharedChannelInput with the given index that uses the given filter to decode incoming messages- Parameters:
index
- The index to create the channel withfilter
- The filter used to decode incoming messages- Returns:
- A new NetSharedChannelInput
- Throws:
java.lang.IllegalArgumentException
- Thrown if a channel with the given index already exists
-
numberedNet2Any
public static NetSharedChannelInput numberedNet2Any(int index, int immunityLevel, NetworkMessageFilter.FilterRx filter) throws java.lang.IllegalArgumentException
Deprecated.Creates a new NetSharedChannelInput with the given index and poison immunity level, which uses the given filter to decode incoming messages.- Parameters:
index
- The index to create the channel withimmunityLevel
- The immunity level to poison that the channel hasfilter
- The filter used to decode incoming messages- Returns:
- A new NetSharedChannelInput
- Throws:
java.lang.IllegalArgumentException
- Thrown if a channel with the given index already exists.
-
one2net
public static NetChannelOutput one2net(NetChannelLocation loc) throws JCSPNetworkException
Deprecated.Creates a new NetChannelOutput connected to the input end with the given NetChannelLocation- Parameters:
loc
- The location of the input end of the channel- Returns:
- A new NetChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
one2net
public static NetChannelOutput one2net(NetChannelLocation loc, int immunityLevel) throws JCSPNetworkException
Deprecated.Creates a new NetChannelOutput connected to the input end with the given NetChannelLocation, and having the given poison immunity level- Parameters:
loc
- The location of the input end of the channelimmunityLevel
- The immunity to poison that this channel has- Returns:
- A new NetChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
one2net
public static NetChannelOutput one2net(NetChannelLocation loc, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
Deprecated.Creates a new NetChannelOutput connected to the input end with the given NetChannelLocation, and uses the given filter to encode outgoing messages- Parameters:
loc
- The location of the input end of the channelfilter
- The filter used to encode outgoing messages- Returns:
- A new NetChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
one2net
public static NetChannelOutput one2net(NetChannelLocation loc, int immunityLevel, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
Deprecated.Creates a new NetChannelOutput connected to the given location with the given poison immunity level, and uses the given filter to encode outgoing messages.- Parameters:
loc
- The location of the input end of the channelimmunityLevel
- The immunity to poison that this channel hasfilter
- The filter used to encode outgoing messages- Returns:
- A new NetChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
any2net
public static NetSharedChannelOutput any2net(NetChannelLocation loc) throws JCSPNetworkException
Deprecated.Creates a new NetSharedChannelOutput connected to the input end at the given location- Parameters:
loc
- The location of the input end of the channel- Returns:
- A new NetSharedChannelInput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
any2net
public static NetSharedChannelOutput any2net(NetChannelLocation loc, int immunityLevel) throws JCSPNetworkException
Deprecated.Creates a new NetSharedChannelOutput connected to the input end at the given location and with the given poison immunity level- Parameters:
loc
- The location of the input end of the channelimmunityLevel
- The immunity to poison that the channel has- Returns:
- A new NetSharedChannelInput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
any2net
public static NetSharedChannelOutput any2net(NetChannelLocation loc, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
Deprecated.Creates a new NetSharedChannelOutput connected to the input end with the given location, and uses the given filter to encode outgoing messages- Parameters:
loc
- The location of the input end of the channelfilter
- The filter used to encode outgoing messages- Returns:
- A new NetSharedChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
any2net
public static NetSharedChannelOutput any2net(NetChannelLocation loc, int immunityLevel, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
Deprecated.Creates a new NetSharedChannelOutput connected to the input end with the given location and with the given immunity level, which uses the given filter to encode outgoing messages.- Parameters:
loc
- The location of the input end of the channelimmunityLevel
- The immunity to poison that this channel hasfilter
- The filter used to encode outgoing messages- Returns:
- A new NetSharedChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
one2net
public static NetChannelOutput one2net(NodeID nodeID, int vcn) throws JCSPNetworkException
Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node- Parameters:
nodeID
- The NodeID of the node that the input channel resides onvcn
- The Virtual Channel Number of the input channel- Returns:
- A new NetChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
one2net
public static NetChannelOutput one2net(NodeID nodeID, int vcn, int immunityLevel) throws JCSPNetworkException
Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node, and with the given poison immunity level- Parameters:
nodeID
- The NodeID of the Node that the input channel resides onvcn
- The Virtual Channel Number of the input channelimmunityLevel
- The immunity to poison of the channel- Returns:
- A new NetChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
one2net
public static NetChannelOutput one2net(NodeID nodeID, int vcn, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node, which uses the given filter to encode outgoing messages- Parameters:
nodeID
- The NodeID of the Node that the input channel resides onvcn
- The Virtual Channel Number of the input channelfilter
- The filter to encode outgoing messages- Returns:
- A new NetChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong with the underlying architecture
-
one2net
public static NetChannelOutput one2net(NodeID nodeID, int vcn, int immunityLevel, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node, with the given poison immunity level and uses the given filter to encode outgoing messages- Parameters:
nodeID
- The NodeID of the Node that the input channel resides onvcn
- The Virtual Channel Number of the input channelimmunityLevel
- The immunity to poison that the channel hasfilter
- The filter that encodes the outgoing messages- Returns:
- A new NetChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong with the underlying architecture
-
any2net
public static NetSharedChannelOutput any2net(NodeID nodeID, int vcn) throws JCSPNetworkException
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node- Parameters:
nodeID
- The NodeID of the Node to connect tovcn
- The Virtual Channel Number of the input channel- Returns:
- A new NetSharedChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
any2net
public static NetSharedChannelOutput any2net(NodeID nodeID, int vcn, int immunityLevel) throws JCSPNetworkException
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node and the given poison immunity- Parameters:
nodeID
- The NodeID of the Node to connect tovcn
- The Virtual Channel Number of the input channelimmunityLevel
- The immunity to poison that the channel has- Returns:
- A new NetSharedChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
any2net
public static NetSharedChannelOutput any2net(NodeID nodeID, int vcn, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node, which uses the given filter to encode outgoing messages- Parameters:
nodeID
- The NodeID of the Node to connect tovcn
- The Virtual Channel Number of the input channelfilter
- The filter used to encode the outgoing messages- Returns:
- A new NetSharedChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
any2net
public static NetSharedChannelOutput any2net(NodeID nodeID, int vcn, int immunityLevel, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node, with the given poison immunity level, which uses the given filter to encode outgoing messages- Parameters:
nodeID
- The NodeID of the Node to connect tovcn
- The Virtual Channel Number of the input channelimmunityLevel
- The immunity to poison that the channel hasfilter
- The filter used to encode outgoing messages- Returns:
- A new NetSharedChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
one2net
public static NetChannelOutput one2net(NodeAddress nodeAddr, int vcn) throws JCSPNetworkException
Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node- Parameters:
nodeAddr
- The NodeAddress of the Node to connect tovcn
- The Virtual Channel Number of the input channel- Returns:
- A new NetChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
one2net
public static NetChannelOutput one2net(NodeAddress nodeAddr, int vcn, int immunityLevel) throws JCSPNetworkException
Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node with the given poison immunity- Parameters:
nodeAddr
- The NodeAddress of the Node to connect tovcn
- The Virtual Channel Number of the input channelimmunityLevel
- The immunity to poison the channel has- Returns:
- A new NetChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
one2net
public static NetChannelOutput one2net(NodeAddress nodeAddr, int vcn, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node which uses the given filter to encode outgoing messages- Parameters:
nodeAddr
- The NodeAddress of the Node to connect tovcn
- The Virtual Channel Number of the input channelfilter
- The filter used to encode outgoing messages- Returns:
- A new NetChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
one2net
public static NetChannelOutput one2net(NodeAddress nodeAddr, int vcn, int immunityLevel, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node which has the given poison immunity and uses the given filter to encode outgoing messages- Parameters:
nodeAddr
- The NodeAddress of the Node to connect tovcn
- The Virtual Channel Number of the input channelimmunityLevel
- The immunity to poison that the channel hasfilter
- The filter used to encode outgoing messages- Returns:
- A new NetChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
any2net
public static NetSharedChannelOutput any2net(NodeAddress nodeAddr, int vcn) throws JCSPNetworkException
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node- Parameters:
nodeAddr
- The NodeAddress of the Node to connect tovcn
- The Virtual Channel Number of the input channel- Returns:
- A new NetSharedChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
any2net
public static NetSharedChannelOutput any2net(NodeAddress nodeAddr, int vcn, int immunityLevel) throws JCSPNetworkException
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node which has the given poison immunity- Parameters:
nodeAddr
- The NodeAddress of the Node to connect tovcn
- The Virtual Channel Number of the input channelimmunityLevel
- The immunity to poison that the channel has- Returns:
- A new NetSharedChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
any2net
public static NetSharedChannelOutput any2net(NodeAddress nodeAddr, int vcn, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node which uses the given filter to encode outgoing messages- Parameters:
nodeAddr
- The NodeAddress of the Node to connect tovcn
- The Virtual Channel Number of the input channelfilter
- The immunity to poison that the channel has- Returns:
- A new NetSharedChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
any2net
public static NetSharedChannelOutput any2net(NodeAddress nodeAddr, int vcn, int immunityLevel, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node that has the given poison immunity level and uses the given filter to encode outgoing messages- Parameters:
nodeAddr
- The NodeAddress of the Node to connect tovcn
- The Virtual Channel Number of the input channelimmunityLevel
- The immunity to poison that the channel hasfilter
- The filter used to encode outgoing messages- Returns:
- A new NetSharedChannelOutput
- Throws:
JCSPNetworkException
- Thrown if something goes wrong in the underlying architecture
-
-