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 NetSharedChannelOutputNetChannelEnd.any2net(NetChannelLocation loc) Deprecated.Creates a new NetSharedChannelOutput connected to the input end at the given locationstatic NetSharedChannelOutputNetChannelEnd.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 NetSharedChannelOutputNetChannelEnd.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 NetSharedChannelOutputNetChannelEnd.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 NetSharedChannelOutputNetChannelEnd.any2net(NodeAddress nodeAddr, int vcn) Deprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Nodestatic NetSharedChannelOutputNetChannelEnd.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 NetSharedChannelOutputNetChannelEnd.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 NetSharedChannelOutputNetChannelEnd.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 NetSharedChannelOutputDeprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Nodestatic NetSharedChannelOutputDeprecated.Creates a new NetSharedChannelOutput connected to the channel with the given vcn on the given Node and the given poison immunitystatic NetSharedChannelOutputNetChannelEnd.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 NetSharedChannelOutputNetChannelEnd.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 messagesvoidAny2NetChannel.asyncWrite(T object) Writes asynchronously to the underlying channel.voidNetChannelOutput.asyncWrite(T obj) Sends a message to the input end of the channel asynchronously (no blocking)voidOne2NetChannel.asyncWrite(T object) Asynchronously writes an object to the channelabstract booleanLink.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 NetAltingConnectionClientNetAltingConnectionClient.create(NetConnectionLocation loc, NetworkMessageFilter.FilterTx filterTX, NetworkMessageFilter.FilterRx filterRX) (package private) static NetBarrierNetBarrier.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 NetSharedChannelOutputNetChannel.createAny2Net(NetChannelLocation loc) Deprecated.Use any2net insteadstatic NetSharedChannelOutputNetChannelEnd.createAny2Net(NetChannelLocation loc) Deprecated.Use any2net insteadStandardNetChannelEndFactory.createAny2Net(NetChannelLocation loc) Deprecated.Use any2net insteadprotected abstract LinkNodeAddress.createLink()Creates a Link connected to this addressprotected abstract LinkServerNodeAddress.createLinkServer()Creates a LinkServer listening on this addressstatic NetChannelOutputNetChannel.createOne2Net(NetChannelLocation loc) Deprecated.Use one2net insteadstatic NetChannelOutputNetChannelEnd.createOne2Net(NetChannelLocation loc) Deprecated.Use one2net insteadStandardNetChannelEndFactory.createOne2Net(NetChannelLocation loc) Deprecated.Use one2net insteadprotected abstract booleanLink.createResources()Creates the resources (if any) required for the Node.voidNetBarrier.destroy()Destroys the BarriervoidNet2AnyChannel.endRead()Ends an extended read operationvoidNet2OneChannel.endRead()Ends an extended read operation.voidNetBarrier.enroll()Enrolls locally with the Barrierstatic LinkLinkFactory.getLink(NodeAddress addr) Creates a new Link, or retrieves an existing one, from a NodeAddressstatic LinkCreates 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 NodeAddressInitialises a NodebooleanNetAltingConnectionClient.isOpen()static NetBarrierNetBarrierEnd.netBarrier(NetBarrierLocation loc, int enrolled) Creates a new client end of a NetBarrierstatic NetBarrierNetBarrierEnd.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 NetBarrierNetBarrierEnd.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 NetChannelOutputNetChannelEnd.one2net(NetChannelLocation loc) Deprecated.Creates a new NetChannelOutput connected to the input end with the given NetChannelLocationstatic NetChannelOutputNetChannelEnd.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 NetChannelOutputNetChannelEnd.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 NetChannelOutputNetChannelEnd.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 NetChannelOutputNetChannelEnd.one2net(NodeAddress nodeAddr, int vcn) Deprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Nodestatic NetChannelOutputNetChannelEnd.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 NetChannelOutputNetChannelEnd.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 NetChannelOutputNetChannelEnd.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 NetChannelOutputDeprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Nodestatic NetChannelOutputDeprecated.Creates a new NetChannelOutput connected to the channel with the given vcn on the given Node, and with the given poison immunity levelstatic NetChannelOutputNetChannelEnd.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 NetChannelOutputNetChannelEnd.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 messagesbooleanNet2OneChannel.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()voidvoidNetBarrier.resign()Resigns an local process from the barrierstatic final voidLinkServer.start(NodeAddress address) Net2AnyChannel.startRead()Begins an extended read operation on the channelNet2OneChannel.startRead()Performs an extended read operation on the channelvoidNetBarrier.sync()Performs a SYNC operation with the Barrier throws JCSPNetworkException Thrown if something goes wrong in the underlying architecturevoidWrites an object to the underlying channel.voidWrites an object to the input endConstructors in org.jcsp.net2 that throw JCSPNetworkExceptionModifierConstructorDescriptionprivateNet2OneChannel(AltingChannelInput input, ChannelData chanData, NetworkMessageFilter.FilterRx filter) Private constructor for creating a new instance of a Net2OneChannel.privateNetAltingConnectionServer(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 voidBNS.initialise(NodeAddress bnsNode) Initialises the connection to the BNSstatic voidBNS.initialise(NodeID bnsNode) Initialises the connection to the BNSstatic NetBarrierBNS.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 NetSharedChannelOutputCNS.createAny2Net(String name) Deprecated.Use one2net insteadstatic NetChannelOutputCNS.createOne2Net(String name) Deprecated.Use one2net insteadstatic voidCNS.initialise(NodeAddress cnsNode) Initialises the factory methods to allow creation of channels with the CNSstatic voidCNS.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 TypeMethodDescriptionvoidMobileChannelOutput.asyncWrite(Object obj) protected Class -
Uses of JCSPNetworkException in org.jcsp.net2.tcpip
Methods in org.jcsp.net2.tcpip that throw JCSPNetworkExceptionModifier and TypeMethodDescriptionbooleanTCPIPLink.connect()Connects the Link to the remote Node.protected LinkTCPIPNodeAddress.createLink()Creates a new TCPIPLink connected to a Node with this addressprotected LinkServerTCPIPNodeAddress.createLinkServer()Creates a new TCPIPLinkServer listening on this addressprotected booleanTCPIPLink.createResources()Creates any required resources.protected NodeAddressDeprecated.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