Uses of Class
org.jcsp.net2.JCSPNetworkException
Packages that use JCSPNetworkException
Package
Description
-
Uses of JCSPNetworkException in org.jcsp.net2
Methods in org.jcsp.net2 that throw JCSPNetworkExceptionModifier and TypeMethodDescriptionstatic <T> NetSharedChannelOutput
<T> NetChannel.any2net
(NetChannelLocation loc) Creates a new NetSharedChannelOutput connected to the input end at the given locationstatic <T> NetSharedChannelOutput
<T> NetChannel.any2net
(NetChannelLocation loc, int immunityLevel) Creates a new NetSharedChannelOutput connected to the input end at the given location and with the given poison immunity levelstatic <T> NetSharedChannelOutput
<T> NetChannel.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.static <T> NetSharedChannelOutput
<T> NetChannel.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 messagesstatic <T> NetSharedChannelOutput
<T> NetChannel.any2net
(NodeAddress nodeAddr, int vcn) Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Nodestatic <T> NetSharedChannelOutput
<T> NetChannel.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 immunitystatic <T> NetSharedChannelOutput
<T> NetChannel.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 messagesstatic <T> NetSharedChannelOutput
<T> NetChannel.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 messagesstatic <T> NetSharedChannelOutput
<T> Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Nodestatic <T> NetSharedChannelOutput
<T> Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node and the given poison immunitystatic <T> NetSharedChannelOutput
<T> NetChannel.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 messagesstatic <T> NetSharedChannelOutput
<T> NetChannel.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 messagesstatic NetSharedChannelOutput
NetChannelEnd.any2net
(NetChannelLocation loc) Deprecated.Creates a new NetSharedChannelOutput connected to the input end at the given locationstatic NetSharedChannelOutput
NetChannelEnd.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
NetChannelEnd.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
NetChannelEnd.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
NetChannelEnd.any2net
(NodeAddress nodeAddr, int vcn) Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Nodestatic NetSharedChannelOutput
NetChannelEnd.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
NetChannelEnd.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
NetChannelEnd.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
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Nodestatic NetSharedChannelOutput
Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node and the given poison immunitystatic NetSharedChannelOutput
NetChannelEnd.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
NetChannelEnd.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<T> NetSharedChannelOutput
<T> NetChannelEndFactory.any2net
(NetChannelLocation loc) Creates a new NetSharedChannelOutput connected to the input end at the given location<T> NetSharedChannelOutput
<T> NetChannelEndFactory.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> NetChannelEndFactory.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> NetChannelEndFactory.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> NetChannelEndFactory.any2net
(NodeAddress nodeAddr, int vcn) Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node<T> NetSharedChannelOutput
<T> NetChannelEndFactory.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> NetChannelEndFactory.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> NetChannelEndFactory.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> Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node<T> NetSharedChannelOutput
<T> Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node and the given poison immunity<T> NetSharedChannelOutput
<T> NetChannelEndFactory.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> NetChannelEndFactory.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<T> NetSharedChannelOutput
<T> StandardNetChannelEndFactory.any2net
(NetChannelLocation loc) Creates a new NetSharedChannelOutput connected to the input end at the given location<T> NetSharedChannelOutput
<T> StandardNetChannelEndFactory.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> StandardNetChannelEndFactory.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> StandardNetChannelEndFactory.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> StandardNetChannelEndFactory.any2net
(NodeAddress nodeAddr, int vcn) Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node<T> NetSharedChannelOutput
<T> StandardNetChannelEndFactory.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> StandardNetChannelEndFactory.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> StandardNetChannelEndFactory.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> Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node<T> NetSharedChannelOutput
<T> Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node and the given poison immunity<T> NetSharedChannelOutput
<T> StandardNetChannelEndFactory.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> StandardNetChannelEndFactory.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 messagesvoid
Any2NetChannel.asyncWrite
(T object) Writes asynchronously to the underlying channel.void
NetChannelOutput.asyncWrite
(T obj) Sends a message to the input end of the channel asynchronously (no blocking)void
One2NetChannel.asyncWrite
(T object) Asynchronously writes an object to the channelabstract boolean
Link.connect()
Connects to the remote Node.(package private) static <T2> Any2NetChannel
<T2> Any2NetChannel.create
(NetChannelLocation loc, int immunity, NetworkMessageFilter.FilterTx filter) Static factory method used to create an Any2NetChannel(package private) static <T2> Net2AnyChannel
<T2> Net2AnyChannel.create
(int index, int poisonImmunity, NetworkMessageFilter.FilterRx filter) Static factory method for creating a new instance of Net2AnyChannel, given a particular index(package private) static <T2> Net2AnyChannel
<T2> Net2AnyChannel.create
(int poisonImmunity, NetworkMessageFilter.FilterRx filter) A static factory method to create a new Net2AnyChannel object(package private) static NetAltingConnectionClient
NetAltingConnectionClient.create
(NetConnectionLocation loc, NetworkMessageFilter.FilterTx filterTX, NetworkMessageFilter.FilterRx filterRX) (package private) static NetBarrier
NetBarrier.create
(NetBarrierLocation loc, int localEnroll) Static factory method for creating a client end of a NetBarrier(package private) static <T2> One2NetChannel
<T2> One2NetChannel.create
(NetChannelLocation loc, int immunity, NetworkMessageFilter.FilterTx filter) Creates a new One2NetChannel by connecting to an already created NetChannelInputstatic NetSharedChannelOutput
NetChannel.createAny2Net
(NetChannelLocation loc) Deprecated.Use any2net insteadstatic NetSharedChannelOutput
NetChannelEnd.createAny2Net
(NetChannelLocation loc) Deprecated.Use any2net insteadStandardNetChannelEndFactory.createAny2Net
(NetChannelLocation loc) Deprecated.Use any2net insteadprotected abstract Link
NodeAddress.createLink()
Creates a Link connected to this addressprotected abstract LinkServer
NodeAddress.createLinkServer()
Creates a LinkServer listening on this addressstatic NetChannelOutput
NetChannel.createOne2Net
(NetChannelLocation loc) Deprecated.Use one2net insteadstatic NetChannelOutput
NetChannelEnd.createOne2Net
(NetChannelLocation loc) Deprecated.Use one2net insteadStandardNetChannelEndFactory.createOne2Net
(NetChannelLocation loc) Deprecated.Use one2net insteadprotected abstract boolean
Link.createResources()
Creates the resources (if any) required for the Node.void
NetBarrier.destroy()
Destroys the Barriervoid
Net2AnyChannel.endRead()
Ends an extended read operationvoid
Net2OneChannel.endRead()
Ends an extended read operation.void
NetBarrier.enroll()
Enrolls locally with the Barrierstatic Link
LinkFactory.getLink
(NodeAddress addr) Creates a new Link, or retrieves an existing one, from a NodeAddressstatic Link
Creates a new Link or gets an existing one from the the given NodeID.Node.init
(String name, NodeAddress addr) Node.init
(NodeAddress addr) Node.init
(NodeFactory factory) protected abstract NodeAddress
Initialises a Nodeboolean
NetAltingConnectionClient.isOpen()
static NetBarrier
NetBarrierEnd.netBarrier
(NetBarrierLocation loc, int enrolled) Creates a new client end of a NetBarrierstatic NetBarrier
NetBarrierEnd.netBarrier
(NodeAddress addr, int vbn, int enrolled) Creates a new client end of a NetBarrier connected to the barrier with the given index on the given Nodestatic NetBarrier
NetBarrierEnd.netBarrier
(NodeID nodeID, int vbn, int enrolled) Creates a new client end of a NetBarrier connected to the barrier with the given index on the given Nodestatic <T> NetChannelOutput
<T> NetChannel.one2net
(NetChannelLocation loc) Creates a new NetChannelOutput connected to the input end with the given NetChannelLocationstatic <T> NetChannelOutput
<T> NetChannel.one2net
(NetChannelLocation loc, int immunityLevel) Creates a new NetChannelOutput connected to the input end with the given NetChannelLocation, and having the given poison immunity levelstatic <T> NetChannelOutput
<T> NetChannel.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.static <T> NetChannelOutput
<T> NetChannel.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 messagesstatic <T> NetChannelOutput
<T> NetChannel.one2net
(NodeAddress nodeAddr, int vcn) Creates a new NetChannelOutput connected to the channel with the given vcn on the given Nodestatic <T> NetChannelOutput
<T> NetChannel.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 immunitystatic <T> NetChannelOutput
<T> NetChannel.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 messagesstatic <T> NetChannelOutput
<T> NetChannel.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 messagesstatic <T> NetChannelOutput
<T> Creates a new NetChannelOutput connected to the channel with the given vcn on the given Nodestatic <T> NetChannelOutput
<T> Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node, and with the given poison immunity levelstatic <T> NetChannelOutput
<T> NetChannel.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 messagesstatic <T> NetChannelOutput
<T> NetChannel.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 messagesstatic NetChannelOutput
NetChannelEnd.one2net
(NetChannelLocation loc) Deprecated.Creates a new NetChannelOutput connected to the input end with the given NetChannelLocationstatic NetChannelOutput
NetChannelEnd.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
NetChannelEnd.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
NetChannelEnd.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
NetChannelEnd.one2net
(NodeAddress nodeAddr, int vcn) Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Nodestatic NetChannelOutput
NetChannelEnd.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
NetChannelEnd.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
NetChannelEnd.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
Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Nodestatic NetChannelOutput
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
NetChannelEnd.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
NetChannelEnd.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<T> NetChannelOutput
<T> NetChannelEndFactory.one2net
(NetChannelLocation loc) Creates a new NetChannelOutput connected to the input end with the given NetChannelLocation<T> NetChannelOutput
<T> NetChannelEndFactory.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> NetChannelEndFactory.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> NetChannelEndFactory.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> NetChannelEndFactory.one2net
(NodeAddress nodeAddr, int vcn) Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node<T> NetChannelOutput
<T> NetChannelEndFactory.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> NetChannelEndFactory.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> NetChannelEndFactory.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> Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node<T> NetChannelOutput
<T> 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> NetChannelEndFactory.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> NetChannelEndFactory.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<T> NetChannelOutput
<T> StandardNetChannelEndFactory.one2net
(NetChannelLocation loc) Creates a new NetChannelOutput connected to the input end with the given NetChannelLocation<T> NetChannelOutput
<T> StandardNetChannelEndFactory.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> StandardNetChannelEndFactory.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> StandardNetChannelEndFactory.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> StandardNetChannelEndFactory.one2net
(NodeAddress nodeAddr, int vcn) Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node<T> NetChannelOutput
<T> StandardNetChannelEndFactory.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> StandardNetChannelEndFactory.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> StandardNetChannelEndFactory.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> Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node<T> NetChannelOutput
<T> 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> StandardNetChannelEndFactory.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> StandardNetChannelEndFactory.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 messagesboolean
Net2OneChannel.pending()
Checks if any data is waiting on the channel.Net2AnyChannel.read()
Reads the next message from the channelNet2OneChannel.read()
Reads the next message from the channelNetAltingConnectionClient.reply()
void
void
NetBarrier.resign()
Resigns an local process from the barrierstatic final void
LinkServer.start
(NodeAddress address) Net2AnyChannel.startRead()
Begins an extended read operation on the channelNet2OneChannel.startRead()
Performs an extended read operation on the channelvoid
NetBarrier.sync()
Performs a SYNC operation with the Barrier throws JCSPNetworkException Thrown if something goes wrong in the underlying architecturevoid
Writes an object to the underlying channel.void
Writes an object to the input endConstructors in org.jcsp.net2 that throw JCSPNetworkExceptionModifierConstructorDescriptionprivate
Net2OneChannel
(AltingChannelInput input, ChannelData chanData, NetworkMessageFilter.FilterRx filter) Private constructor for creating a new instance of a Net2OneChannel.private
NetAltingConnectionServer
(AltingChannelInput openChan, AltingChannelInput requestChan, ConnectionData connData, NetworkMessageFilter.FilterRx filterRX, NetworkMessageFilter.FilterTx filterTX) -
Uses of JCSPNetworkException in org.jcsp.net2.bns
Methods in org.jcsp.net2.bns that throw JCSPNetworkExceptionModifier and TypeMethodDescriptionstatic void
BNS.initialise
(NodeAddress bnsNode) Initialises the connection to the BNSstatic void
BNS.initialise
(NodeID bnsNode) Initialises the connection to the BNSstatic NetBarrier
BNS.netBarrier
(String name, int enrolled) Creates a new client end of a NetBarrierResolves a name on the BNS, retrieving the NetBarrierLocation for the NetBarrierConstructors in org.jcsp.net2.bns that throw JCSPNetworkException -
Uses of JCSPNetworkException in org.jcsp.net2.cns
Methods in org.jcsp.net2.cns that throw JCSPNetworkExceptionModifier and TypeMethodDescriptionstatic <T> NetSharedChannelOutput
<T> Creates a new NetSharedChannelOutput connected to the input channel registered with the given namestatic <T> NetSharedChannelOutput
<T> Creates a new NetSharedChannelOutput connected to the input channel registered with the given namestatic <T> NetSharedChannelOutput
<T> CNS.any2net
(String name, int immunityLevel, NetworkMessageFilter.FilterTx filter) Creates a new NetSharedChannelOutput connected to the input channel registered with the given namestatic <T> NetSharedChannelOutput
<T> CNS.any2net
(String name, NetworkMessageFilter.FilterTx filter) Creates a new NetSharedChannelOutput connected to the input channel registered with the given namestatic NetSharedChannelOutput
CNS.createAny2Net
(String name) Deprecated.Use one2net insteadstatic NetChannelOutput
CNS.createOne2Net
(String name) Deprecated.Use one2net insteadstatic void
CNS.initialise
(NodeAddress cnsNode) Initialises the factory methods to allow creation of channels with the CNSstatic void
CNS.initialise
(NodeID cnsNode) Initialises the factory methods to allow creation of channels with the CNSstatic <T> NetChannelOutput
<T> Creates a new NetChannelOutput connected to the input channel registered with the given namestatic <T> NetChannelOutput
<T> Creates a new NetChannelOutput connected to the input channel registered with the given namestatic <T> NetChannelOutput
<T> CNS.one2net
(String name, int immunityLevel, NetworkMessageFilter.FilterTx filter) Creates a new NetChannelOutput connected to the input channel registered with the given namestatic <T> NetChannelOutput
<T> CNS.one2net
(String name, NetworkMessageFilter.FilterTx filter) Creates a new NetChannelOutput connected to the input channel registered with the given nameResolves a name on the CNS, retrieving the NetChannelLocation for the channelConstructors in org.jcsp.net2.cns that throw JCSPNetworkException -
Uses of JCSPNetworkException in org.jcsp.net2.mobile
Methods in org.jcsp.net2.mobile that throw JCSPNetworkExceptionModifier and TypeMethodDescriptionvoid
MobileChannelOutput.asyncWrite
(Object obj) protected Class
-
Uses of JCSPNetworkException in org.jcsp.net2.tcpip
Methods in org.jcsp.net2.tcpip that throw JCSPNetworkExceptionModifier and TypeMethodDescriptionboolean
TCPIPLink.connect()
Connects the Link to the remote Node.protected Link
TCPIPNodeAddress.createLink()
Creates a new TCPIPLink connected to a Node with this addressprotected LinkServer
TCPIPNodeAddress.createLinkServer()
Creates a new TCPIPLinkServer listening on this addressprotected boolean
TCPIPLink.createResources()
Creates any required resources.protected NodeAddress
Deprecated.Initialises the Node, connecting to the CNS / BNSConstructors in org.jcsp.net2.tcpip that throw JCSPNetworkExceptionModifierConstructorDescription(package private)
Creates new TCPIPLink from a Socket.TCPIPLink
(TCPIPNodeAddress address) Creates a new TCPIPLinkTCPIPLinkServer
(TCPIPNodeAddress address) Creates a new TCPIPLinkServer listening on the given address