public final class StandardNetChannelEndFactory extends java.lang.Object implements NetChannelEndFactory
NetChannelEndFactory,
NetChannel| Constructor and Description |
|---|
StandardNetChannelEndFactory() |
| Modifier and Type | Method and Description |
|---|---|
<T> NetSharedChannelOutput<T> |
any2net(NetChannelLocation loc)
Creates a new NetSharedChannelOutput connected to the input end at the given location
|
<T> NetSharedChannelOutput<T> |
any2net(NetChannelLocation loc,
int immunityLevel)
Creates a new NetSharedChannelOutput connected to the input end at the given location and with the given poison
immunity level
|
<T> NetSharedChannelOutput<T> |
any2net(NetChannelLocation loc,
int immunityLevel,
NetworkMessageFilter.FilterTx filter)
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.
|
<T> NetSharedChannelOutput<T> |
any2net(NetChannelLocation loc,
NetworkMessageFilter.FilterTx filter)
Creates a new NetSharedChannelOutput connected to the input end with the given location, and uses the given
filter to encode outgoing messages
|
<T> NetSharedChannelOutput<T> |
any2net(NodeAddress nodeAddr,
int vcn)
Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node
|
<T> NetSharedChannelOutput<T> |
any2net(NodeAddress nodeAddr,
int vcn,
int immunityLevel)
Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node which has the
given poison immunity
|
<T> NetSharedChannelOutput<T> |
any2net(NodeAddress nodeAddr,
int vcn,
int immunityLevel,
NetworkMessageFilter.FilterTx filter)
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
|
<T> NetSharedChannelOutput<T> |
any2net(NodeAddress nodeAddr,
int vcn,
NetworkMessageFilter.FilterTx filter)
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
|
<T> NetSharedChannelOutput<T> |
any2net(NodeID nodeID,
int vcn)
Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node
|
<T> NetSharedChannelOutput<T> |
any2net(NodeID nodeID,
int vcn,
int immunityLevel)
Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node and the given
poison immunity
|
<T> NetSharedChannelOutput<T> |
any2net(NodeID nodeID,
int vcn,
int immunityLevel,
NetworkMessageFilter.FilterTx filter)
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
|
<T> NetSharedChannelOutput<T> |
any2net(NodeID nodeID,
int vcn,
NetworkMessageFilter.FilterTx filter)
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
|
NetSharedChannelOutput |
createAny2Net(NetChannelLocation loc)
Deprecated.
Use any2net instead
|
NetSharedChannelInput |
createNet2Any()
Deprecated.
Use net2any instead
|
NetAltingChannelInput |
createNet2One()
Deprecated.
Use net2one instead
|
NetChannelOutput |
createOne2Net(NetChannelLocation loc)
Deprecated.
Use one2net instead
|
<T> NetSharedChannelInput<T> |
net2any()
Creates a new NetSharedChannelInput
|
<T> NetSharedChannelInput<T> |
net2any(int immunityLevel)
Creates a new NetSharedChannelInput with the given poison immunity level
|
<T> NetSharedChannelInput<T> |
net2any(int immunityLevel,
NetworkMessageFilter.FilterRx filter)
Creates a new NetSharedChannelInput with the given poison immunity level, which uses the given filter to decode
messages
|
<T> NetSharedChannelInput<T> |
net2any(NetworkMessageFilter.FilterRx filter)
Creates a new NetSharedChannelInput which uses the given filter to decode incoming messages
|
<T> NetAltingChannelInput<T> |
net2one()
Creates a new NetAltingChannelInput
|
<T> NetAltingChannelInput<T> |
net2one(int immunityLevel)
Creates a new NetAltingChannelInput with the given immunity level for poison
|
<T> NetAltingChannelInput<T> |
net2one(int immunityLevel,
NetworkMessageFilter.FilterRx filter)
Creates a new NetAltingChannelInput with the given poison immunity level which uses the given filter to decode
incoming messages
|
<T> NetAltingChannelInput<T> |
net2one(NetworkMessageFilter.FilterRx filter)
Creates a new NetAltingChannelInput which uses the given filter to decode incoming messages
|
<T> NetSharedChannelInput<T> |
numberedNet2Any(int index)
Creates a new NetSharedChannelInput with the given index
|
<T> NetSharedChannelInput<T> |
numberedNet2Any(int index,
int immunityLevel)
Creates a new NetSharedChannelInput with the given index and poison immunity level
|
<T> NetSharedChannelInput<T> |
numberedNet2Any(int index,
int immunityLevel,
NetworkMessageFilter.FilterRx filter)
Creates a new NetSharedChannelInput with the given index and poison immunity level, which uses the given filter
to decode incoming messages.
|
<T> NetSharedChannelInput<T> |
numberedNet2Any(int index,
NetworkMessageFilter.FilterRx filter)
Creates a new NetSharedChannelInput with the given index that uses the given filter to decode incoming messages
|
<T> NetAltingChannelInput<T> |
numberedNet2One(int index)
Creates a new NetAltingChannelInput with the given index
|
<T> NetAltingChannelInput<T> |
numberedNet2One(int index,
int immunityLevel)
Creates a new NetAltingChannelInput with the given index and the given poison immunity level
|
<T> NetAltingChannelInput<T> |
numberedNet2One(int index,
int immunityLevel,
NetworkMessageFilter.FilterRx filter)
Creates a new NetAltingChannelInput with the given index and given poison immunity, which uses the given filter
to decode incoming messages
|
<T> NetAltingChannelInput<T> |
numberedNet2One(int index,
NetworkMessageFilter.FilterRx filter)
Creates a new NetAltingChannelInput with the given index that uses the given filter to decode incoming messages
|
<T> NetChannelOutput<T> |
one2net(NetChannelLocation loc)
Creates a new NetChannelOutput connected to the input end with the given NetChannelLocation
|
<T> NetChannelOutput<T> |
one2net(NetChannelLocation loc,
int immunityLevel)
Creates a new NetChannelOutput connected to the input end with the given NetChannelLocation, and having the given
poison immunity level
|
<T> NetChannelOutput<T> |
one2net(NetChannelLocation loc,
int immunityLevel,
NetworkMessageFilter.FilterTx filter)
Creates a new NetChannelOutput connected to the given location with the given poison immunity level, and uses the
given filter to encode outgoing messages.
|
<T> NetChannelOutput<T> |
one2net(NetChannelLocation loc,
NetworkMessageFilter.FilterTx filter)
Creates a new NetChannelOutput connected to the input end with the given NetChannelLocation, and uses the given
filter to encode outgoing messages
|
<T> NetChannelOutput<T> |
one2net(NodeAddress nodeAddr,
int vcn)
Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node
|
<T> NetChannelOutput<T> |
one2net(NodeAddress nodeAddr,
int vcn,
int immunityLevel)
Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node with the given
poison immunity
|
<T> NetChannelOutput<T> |
one2net(NodeAddress nodeAddr,
int vcn,
int immunityLevel,
NetworkMessageFilter.FilterTx filter)
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
|
<T> NetChannelOutput<T> |
one2net(NodeAddress nodeAddr,
int vcn,
NetworkMessageFilter.FilterTx filter)
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
|
<T> NetChannelOutput<T> |
one2net(NodeID nodeID,
int vcn)
Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node
|
<T> NetChannelOutput<T> |
one2net(NodeID nodeID,
int vcn,
int immunityLevel)
Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node, and with the given
poison immunity level
|
<T> NetChannelOutput<T> |
one2net(NodeID nodeID,
int vcn,
int immunityLevel,
NetworkMessageFilter.FilterTx filter)
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
|
<T> NetChannelOutput<T> |
one2net(NodeID nodeID,
int vcn,
NetworkMessageFilter.FilterTx filter)
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
|
public NetAltingChannelInput createNet2One()
public NetSharedChannelInput createNet2Any()
public NetChannelOutput createOne2Net(NetChannelLocation loc) throws JCSPNetworkException
loc - The location to connect the output end toJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic NetSharedChannelOutput createAny2Net(NetChannelLocation loc) throws JCSPNetworkException
loc - The location to connect the output end toJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetAltingChannelInput<T> net2one()
net2one in interface NetChannelEndFactorypublic <T> NetAltingChannelInput<T> net2one(int immunityLevel)
net2one in interface NetChannelEndFactoryimmunityLevel - The immunity level for poisonpublic <T> NetAltingChannelInput<T> net2one(NetworkMessageFilter.FilterRx filter)
net2one in interface NetChannelEndFactoryfilter - The filter used to decode incoming messagespublic <T> NetAltingChannelInput<T> net2one(int immunityLevel, NetworkMessageFilter.FilterRx filter)
net2one in interface NetChannelEndFactoryimmunityLevel - The immunity level to poison for the created channelfilter - The filter used to decode incoming messagespublic <T> NetSharedChannelInput<T> net2any()
net2any in interface NetChannelEndFactorypublic <T> NetSharedChannelInput<T> net2any(int immunityLevel)
net2any in interface NetChannelEndFactoryimmunityLevel - The immunity level to poison for this channelpublic <T> NetSharedChannelInput<T> net2any(NetworkMessageFilter.FilterRx filter)
net2any in interface NetChannelEndFactoryfilter - The filter used to decode incoming messagespublic <T> NetSharedChannelInput<T> net2any(int immunityLevel, NetworkMessageFilter.FilterRx filter)
net2any in interface NetChannelEndFactoryimmunityLevel - The immunity level to poison for this channelfilter - The filter used to decode incoming messagespublic <T> NetAltingChannelInput<T> numberedNet2One(int index) throws java.lang.IllegalArgumentException
numberedNet2One in interface NetChannelEndFactoryindex - The index to create the channel withjava.lang.IllegalArgumentException - Thrown if a channel with the given index already existspublic <T> NetAltingChannelInput<T> numberedNet2One(int index, int immunityLevel) throws java.lang.IllegalArgumentException
numberedNet2One in interface NetChannelEndFactoryindex - The index to create the channel withimmunityLevel - The immunity to poison that the channel hasjava.lang.IllegalArgumentException - Thrown if a channel with the given index already existspublic <T> NetAltingChannelInput<T> numberedNet2One(int index, NetworkMessageFilter.FilterRx filter) throws java.lang.IllegalArgumentException
numberedNet2One in interface NetChannelEndFactoryindex - The index to create the channel withfilter - The filter used to decode incoming messagesjava.lang.IllegalArgumentException - Thrown if a channel with the given index already existspublic <T> NetAltingChannelInput<T> numberedNet2One(int index, int immunityLevel, NetworkMessageFilter.FilterRx filter) throws java.lang.IllegalArgumentException
numberedNet2One in interface NetChannelEndFactoryindex - The index to create the channel withimmunityLevel - The immunity to poison that the channel hasfilter - The filter used to decode incoming messagesjava.lang.IllegalArgumentException - Thrown if a channel with the given index already existspublic <T> NetSharedChannelInput<T> numberedNet2Any(int index) throws java.lang.IllegalArgumentException
numberedNet2Any in interface NetChannelEndFactoryindex - The index to create the channel withjava.lang.IllegalArgumentException - Thrown if a channel with the given index already existspublic <T> NetSharedChannelInput<T> numberedNet2Any(int index, int immunityLevel) throws java.lang.IllegalArgumentException
numberedNet2Any in interface NetChannelEndFactoryindex - The index to create the channel withimmunityLevel - The immunity to poison the channel hasjava.lang.IllegalArgumentException - Thrown if a channel with the given index already existspublic <T> NetSharedChannelInput<T> numberedNet2Any(int index, NetworkMessageFilter.FilterRx filter) throws java.lang.IllegalArgumentException
numberedNet2Any in interface NetChannelEndFactoryindex - The index to create the channel withfilter - The filter used to decode incoming messagesjava.lang.IllegalArgumentException - Thrown if a channel with the given index already existspublic <T> NetSharedChannelInput<T> numberedNet2Any(int index, int immunityLevel, NetworkMessageFilter.FilterRx filter) throws java.lang.IllegalArgumentException
numberedNet2Any in interface NetChannelEndFactoryindex - The index to create the channel withimmunityLevel - The immunity level to poison that the channel hasfilter - The filter used to decode incoming messagesjava.lang.IllegalArgumentException - Thrown if a channel with the given index already exists.public <T> NetChannelOutput<T> one2net(NetChannelLocation loc) throws JCSPNetworkException
one2net in interface NetChannelEndFactoryloc - The location of the input end of the channelJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetChannelOutput<T> one2net(NetChannelLocation loc, int immunityLevel) throws JCSPNetworkException
one2net in interface NetChannelEndFactoryloc - The location of the input end of the channelimmunityLevel - The immunity to poison that this channel hasJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetChannelOutput<T> one2net(NetChannelLocation loc, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
one2net in interface NetChannelEndFactoryloc - The location of the input end of the channelfilter - The filter used to encode outgoing messagesJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetChannelOutput<T> one2net(NetChannelLocation loc, int immunityLevel, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
one2net in interface NetChannelEndFactoryloc - The location of the input end of the channelimmunityLevel - The immunity to poison that this channel hasfilter - The filter used to encode outgoing messagesJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetSharedChannelOutput<T> any2net(NetChannelLocation loc) throws JCSPNetworkException
any2net in interface NetChannelEndFactoryloc - The location of the input end of the channelJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetSharedChannelOutput<T> any2net(NetChannelLocation loc, int immunityLevel) throws JCSPNetworkException
any2net in interface NetChannelEndFactoryloc - The location of the input end of the channelimmunityLevel - The immunity to poison that the channel hasJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetSharedChannelOutput<T> any2net(NetChannelLocation loc, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
any2net in interface NetChannelEndFactoryloc - The location of the input end of the channelfilter - The filter used to encode outgoing messagesJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetSharedChannelOutput<T> any2net(NetChannelLocation loc, int immunityLevel, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
any2net in interface NetChannelEndFactoryloc - The location of the input end of the channelimmunityLevel - The immunity to poison that this channel hasfilter - The filter used to encode outgoing messagesJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetChannelOutput<T> one2net(NodeID nodeID, int vcn) throws JCSPNetworkException
one2net in interface NetChannelEndFactorynodeID - The NodeID of the node that the input channel resides onvcn - The Virtual Channel Number of the input channelJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetChannelOutput<T> one2net(NodeID nodeID, int vcn, int immunityLevel) throws JCSPNetworkException
one2net in interface NetChannelEndFactorynodeID - 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 channelJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetChannelOutput<T> one2net(NodeID nodeID, int vcn, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
one2net in interface NetChannelEndFactorynodeID - The NodeID of the Node that the input channel resides onvcn - The Virtual Channel Number of the input channelfilter - The filter to encode outgoing messagesJCSPNetworkException - Thrown if something goes wrong with the underlying architecturepublic <T> NetChannelOutput<T> one2net(NodeID nodeID, int vcn, int immunityLevel, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
one2net in interface NetChannelEndFactorynodeID - 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 messagesJCSPNetworkException - Thrown if something goes wrong with the underlying architecturepublic <T> NetSharedChannelOutput<T> any2net(NodeID nodeID, int vcn) throws JCSPNetworkException
any2net in interface NetChannelEndFactorynodeID - The NodeID of the Node to connect tovcn - The Virtual Channel Number of the input channelJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetSharedChannelOutput<T> any2net(NodeID nodeID, int vcn, int immunityLevel) throws JCSPNetworkException
any2net in interface NetChannelEndFactorynodeID - The NodeID of the Node to connect tovcn - The Virtual Channel Number of the input channelimmunityLevel - The immunity to poison that the channel hasJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetSharedChannelOutput<T> any2net(NodeID nodeID, int vcn, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
any2net in interface NetChannelEndFactorynodeID - The NodeID of the Node to connect tovcn - The Virtual Channel Number of the input channelfilter - The filter used to encode the outgoing messagesJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetSharedChannelOutput<T> any2net(NodeID nodeID, int vcn, int immunityLevel, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
any2net in interface NetChannelEndFactorynodeID - 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 messagesJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetChannelOutput<T> one2net(NodeAddress nodeAddr, int vcn) throws JCSPNetworkException
one2net in interface NetChannelEndFactorynodeAddr - The NodeAddress of the Node to connect tovcn - The Virtual Channel Number of the input channelJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetChannelOutput<T> one2net(NodeAddress nodeAddr, int vcn, int immunityLevel) throws JCSPNetworkException
one2net in interface NetChannelEndFactorynodeAddr - The NodeAddress of the Node to connect tovcn - The Virtual Channel Number of the input channelimmunityLevel - The immunity to poison the channel hasJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetChannelOutput<T> one2net(NodeAddress nodeAddr, int vcn, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
one2net in interface NetChannelEndFactorynodeAddr - The NodeAddress of the Node to connect tovcn - The Virtual Channel Number of the input channelfilter - The filter used to encode outgoing messagesJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetChannelOutput<T> one2net(NodeAddress nodeAddr, int vcn, int immunityLevel, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
one2net in interface NetChannelEndFactorynodeAddr - 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 messagesJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetSharedChannelOutput<T> any2net(NodeAddress nodeAddr, int vcn) throws JCSPNetworkException
any2net in interface NetChannelEndFactorynodeAddr - The NodeAddress of the Node to connect tovcn - The Virtual Channel Number of the input channelJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetSharedChannelOutput<T> any2net(NodeAddress nodeAddr, int vcn, int immunityLevel) throws JCSPNetworkException
any2net in interface NetChannelEndFactorynodeAddr - The NodeAddress of the Node to connect tovcn - The Virtual Channel Number of the input channelimmunityLevel - The immunity to poison that the channel hasJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetSharedChannelOutput<T> any2net(NodeAddress nodeAddr, int vcn, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
any2net in interface NetChannelEndFactorynodeAddr - The NodeAddress of the Node to connect tovcn - The Virtual Channel Number of the input channelfilter - The immunity to poison that the channel hasJCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic <T> NetSharedChannelOutput<T> any2net(NodeAddress nodeAddr, int vcn, int immunityLevel, NetworkMessageFilter.FilterTx filter) throws JCSPNetworkException
any2net in interface NetChannelEndFactorynodeAddr - 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 messagesJCSPNetworkException - Thrown if something goes wrong in the underlying architectureCopyright © 1996–2022. All rights reserved.