|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcsp.net2.NetChannelEnd
public final class NetChannelEnd
A static factory object used to create networked channels. This class basically wraps around a StandardNetChannelEndFactory and allows static access to its channel creation methods.
NetChannelEndFactory,
StandardNetChannelEndFactory| Method Summary | |
|---|---|
static NetSharedChannelOutput |
any2net(NetChannelLocation loc)
Deprecated. Creates a new NetSharedChannelOutput connected to the input end at the given location |
static 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 level |
static 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 messages |
static NetSharedChannelOutput |
any2net(NodeAddress nodeAddr,
int vcn)
Deprecated. Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node |
static 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 immunity |
static 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 messages |
static 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 messages |
static NetSharedChannelOutput |
any2net(NodeID nodeID,
int vcn)
Deprecated. Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node |
static 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 immunity |
static 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 messages |
static 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 messages |
static NetSharedChannelOutput |
createAny2Net(NetChannelLocation loc)
Deprecated. Use any2net instead |
static NetSharedChannelInput |
createNet2Any()
Deprecated. Use net2any instead |
static NetAltingChannelInput |
createNet2One()
Deprecated. Use net2one instead |
static NetChannelOutput |
createOne2Net(NetChannelLocation loc)
Deprecated. Use one2net instead |
static NetSharedChannelInput |
net2any()
Deprecated. Creates a new NetSharedChannelInput |
static NetSharedChannelInput |
net2any(int immunityLevel)
Deprecated. Creates a new NetSharedChannelInput with the given poison immunity level |
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 |
static NetSharedChannelInput |
net2any(NetworkMessageFilter.FilterRx filter)
Deprecated. Creates a new NetSharedChannelInput which uses the given filter to decode incoming messages |
static NetAltingChannelInput |
net2one()
Deprecated. Creates a new NetAltingChannelInput |
static NetAltingChannelInput |
net2one(int immunityLevel)
Deprecated. Creates a new NetAltingChannelInput with the given immunity level for poison |
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 |
static NetAltingChannelInput |
net2one(NetworkMessageFilter.FilterRx filter)
Deprecated. Creates a new NetAltingChannelInput which uses the given filter to decode incoming messages |
static NetSharedChannelInput |
numberedNet2Any(int index)
Deprecated. Creates a new NetSharedChannelInput with the given index |
static NetSharedChannelInput |
numberedNet2Any(int index,
int immunityLevel)
Deprecated. Creates a new NetSharedChannelInput with the given index and poison immunity level |
static 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 messages |
static NetAltingChannelInput |
numberedNet2One(int index)
Deprecated. Creates a new NetAltingChannelInput with the given index |
static NetAltingChannelInput |
numberedNet2One(int index,
int immunityLevel)
Deprecated. Creates a new NetAltingChannelInput with the given index and the given poison immunity level |
static 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 messages |
static NetAltingChannelInput |
numberedNet2One(int index,
NetworkMessageFilter.FilterRx filter)
Deprecated. Creates a new NetAltingChannelInput with the given index that uses the given filter to decode incoming messages |
static NetChannelOutput |
one2net(NetChannelLocation loc)
Deprecated. Creates a new NetChannelOutput connected to the input end with the given NetChannelLocation |
static 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 level |
static 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 messages |
static NetChannelOutput |
one2net(NodeAddress nodeAddr,
int vcn)
Deprecated. Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node |
static 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 immunity |
static 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 messages |
static 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 messages |
static NetChannelOutput |
one2net(NodeID nodeID,
int vcn)
Deprecated. Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node |
static 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 level |
static 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 messages |
static 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static NetAltingChannelInput createNet2One()
public static NetSharedChannelInput createNet2Any()
public static NetChannelOutput createOne2Net(NetChannelLocation loc)
throws JCSPNetworkException
loc - The location to connect the output end to
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetSharedChannelOutput createAny2Net(NetChannelLocation loc)
throws JCSPNetworkException
loc - The location to connect the output end to
JCSPNetworkException - Thrown if something goes wrong in the underlying architecturepublic static NetAltingChannelInput net2one()
public static NetAltingChannelInput net2one(int immunityLevel)
immunityLevel - The immunity level for poison
public static NetAltingChannelInput net2one(NetworkMessageFilter.FilterRx filter)
filter - The filter used to decode incoming messages
public static NetAltingChannelInput net2one(int immunityLevel,
NetworkMessageFilter.FilterRx filter)
immunityLevel - The immunity level to poison for the created channelfilter - The filter used to decode incoming messages
public static NetSharedChannelInput net2any()
public static NetSharedChannelInput net2any(int immunityLevel)
immunityLevel - The immunity level to poison for this channel
public static NetSharedChannelInput net2any(NetworkMessageFilter.FilterRx filter)
filter - The filter used to decode incoming messages
public static NetSharedChannelInput net2any(int immunityLevel,
NetworkMessageFilter.FilterRx filter)
immunityLevel - The immunity level to poison for this channelfilter - The filter used to decode incoming messages
public static NetAltingChannelInput numberedNet2One(int index)
throws IllegalArgumentException
index - The index to create the channel with
IllegalArgumentException - Thrown if a channel with the given index already exists
public static NetAltingChannelInput numberedNet2One(int index,
int immunityLevel)
throws IllegalArgumentException
index - The index to create the channel withimmunityLevel - The immunity to poison that the channel has
IllegalArgumentException - Thrown if a channel with the given index already exists
public static NetAltingChannelInput numberedNet2One(int index,
NetworkMessageFilter.FilterRx filter)
throws IllegalArgumentException
index - The index to create the channel withfilter - The filter used to decode incoming messages
IllegalArgumentException - Thrown if a channel with the given index already exists
public static NetAltingChannelInput numberedNet2One(int index,
int immunityLevel,
NetworkMessageFilter.FilterRx filter)
throws IllegalArgumentException
index - The index to create the channel withimmunityLevel - The immunity to poison that the channel hasfilter - The filter used to decode incoming messages
IllegalArgumentException - Thrown if a channel with the given index already exists
public static NetSharedChannelInput numberedNet2Any(int index)
throws IllegalArgumentException
index - The index to create the channel with
IllegalArgumentException - Thrown if a channel with the given index already exists
public static NetSharedChannelInput numberedNet2Any(int index,
int immunityLevel)
throws IllegalArgumentException
index - The index to create the channel withimmunityLevel - The immunity to poison the channel has
IllegalArgumentException - Thrown if a channel with the given index already exists
public static NetSharedChannelInput numberedNet2Any(int index,
NetworkMessageFilter.FilterRx filter)
throws IllegalArgumentException
index - The index to create the channel withfilter - The filter used to decode incoming messages
IllegalArgumentException - Thrown if a channel with the given index already exists
public static NetSharedChannelInput numberedNet2Any(int index,
int immunityLevel,
NetworkMessageFilter.FilterRx filter)
throws IllegalArgumentException
index - The index to create the channel withimmunityLevel - The immunity level to poison that the channel hasfilter - The filter used to decode incoming messages
IllegalArgumentException - Thrown if a channel with the given index already exists.
public static NetChannelOutput one2net(NetChannelLocation loc)
throws JCSPNetworkException
loc - The location of the input end of the channel
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetChannelOutput one2net(NetChannelLocation loc,
int immunityLevel)
throws JCSPNetworkException
loc - The location of the input end of the channelimmunityLevel - The immunity to poison that this channel has
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetChannelOutput one2net(NetChannelLocation loc,
NetworkMessageFilter.FilterTx filter)
throws JCSPNetworkException
loc - The location of the input end of the channelfilter - The filter used to encode outgoing messages
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetChannelOutput one2net(NetChannelLocation loc,
int immunityLevel,
NetworkMessageFilter.FilterTx filter)
throws JCSPNetworkException
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
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetSharedChannelOutput any2net(NetChannelLocation loc)
throws JCSPNetworkException
loc - The location of the input end of the channel
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetSharedChannelOutput any2net(NetChannelLocation loc,
int immunityLevel)
throws JCSPNetworkException
loc - The location of the input end of the channelimmunityLevel - The immunity to poison that the channel has
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetSharedChannelOutput any2net(NetChannelLocation loc,
NetworkMessageFilter.FilterTx filter)
throws JCSPNetworkException
loc - The location of the input end of the channelfilter - The filter used to encode outgoing messages
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetSharedChannelOutput any2net(NetChannelLocation loc,
int immunityLevel,
NetworkMessageFilter.FilterTx filter)
throws JCSPNetworkException
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
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetChannelOutput one2net(NodeID nodeID,
int vcn)
throws JCSPNetworkException
nodeID - The NodeID of the node that the input channel resides onvcn - The Virtual Channel Number of the input channel
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetChannelOutput one2net(NodeID nodeID,
int vcn,
int immunityLevel)
throws JCSPNetworkException
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
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetChannelOutput one2net(NodeID nodeID,
int vcn,
NetworkMessageFilter.FilterTx filter)
throws JCSPNetworkException
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
JCSPNetworkException - Thrown if something goes wrong with the underlying architecture
public static NetChannelOutput one2net(NodeID nodeID,
int vcn,
int immunityLevel,
NetworkMessageFilter.FilterTx filter)
throws JCSPNetworkException
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
JCSPNetworkException - Thrown if something goes wrong with the underlying architecture
public static NetSharedChannelOutput any2net(NodeID nodeID,
int vcn)
throws JCSPNetworkException
nodeID - The NodeID of the Node to connect tovcn - The Virtual Channel Number of the input channel
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetSharedChannelOutput any2net(NodeID nodeID,
int vcn,
int immunityLevel)
throws JCSPNetworkException
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
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetSharedChannelOutput any2net(NodeID nodeID,
int vcn,
NetworkMessageFilter.FilterTx filter)
throws JCSPNetworkException
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
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetSharedChannelOutput any2net(NodeID nodeID,
int vcn,
int immunityLevel,
NetworkMessageFilter.FilterTx filter)
throws JCSPNetworkException
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
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetChannelOutput one2net(NodeAddress nodeAddr,
int vcn)
throws JCSPNetworkException
nodeAddr - The NodeAddress of the Node to connect tovcn - The Virtual Channel Number of the input channel
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetChannelOutput one2net(NodeAddress nodeAddr,
int vcn,
int immunityLevel)
throws JCSPNetworkException
nodeAddr - The NodeAddress of the Node to connect tovcn - The Virtual Channel Number of the input channelimmunityLevel - The immunity to poison the channel has
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetChannelOutput one2net(NodeAddress nodeAddr,
int vcn,
NetworkMessageFilter.FilterTx filter)
throws JCSPNetworkException
nodeAddr - The NodeAddress of the Node to connect tovcn - The Virtual Channel Number of the input channelfilter - The filter used to encode outgoing messages
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetChannelOutput one2net(NodeAddress nodeAddr,
int vcn,
int immunityLevel,
NetworkMessageFilter.FilterTx filter)
throws JCSPNetworkException
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
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetSharedChannelOutput any2net(NodeAddress nodeAddr,
int vcn)
throws JCSPNetworkException
nodeAddr - The NodeAddress of the Node to connect tovcn - The Virtual Channel Number of the input channel
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetSharedChannelOutput any2net(NodeAddress nodeAddr,
int vcn,
int immunityLevel)
throws JCSPNetworkException
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
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetSharedChannelOutput any2net(NodeAddress nodeAddr,
int vcn,
NetworkMessageFilter.FilterTx filter)
throws JCSPNetworkException
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
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
public static NetSharedChannelOutput any2net(NodeAddress nodeAddr,
int vcn,
int immunityLevel,
NetworkMessageFilter.FilterTx filter)
throws JCSPNetworkException
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
JCSPNetworkException - Thrown if something goes wrong in the underlying architecture
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||