Package | Description |
---|---|
org.jcsp.net |
This is main package for JCSP.NET.
|
org.jcsp.net.cns |
This package contains the files specifically for the
JCSP.NET Channel Name Service (CNS).
|
org.jcsp.net.dynamic |
Supports dynamic operations over the JCSP.NET infrastructure.
|
Modifier and Type | Method and Description |
---|---|
NetChannelLocation |
Networked.getChannelLocation()
Returns the location of the
Networked
ChannelInput . |
NetChannelLocation |
NetAltingConnectionClient.getChannelLocation()
Returns the location of the server.
|
NetChannelLocation |
NetSharedAltingConnectionClient.getChannelLocation()
Returns the address location of the connection server.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
NetChannelLocation.checkEqual(NetChannelLocation other)
This method is used by the
equals(Object) method
to determine whether another object is equal to the one on which
it is invoked. |
NetSharedChannelOutput |
StandardNetChannelEndFactory.createAny2Net(NetChannelLocation loc) |
static NetSharedAltingConnectionClient |
NetConnection.createAny2Net(NetChannelLocation serverLoc) |
NetSharedAltingConnectionClient |
NetConnectionFactory.createAny2Net(NetChannelLocation serverLoc)
Constructs a
NetSharedAltingConnectionClient object. |
NetSharedChannelOutput |
UnacknowledgedNetChannelEndFactory.createAny2Net(NetChannelLocation loc)
Creates an unacknowledged output channel end suitable for use by multiple writers.
|
static NetSharedChannelOutput |
NetChannelEnd.createAny2Net(NetChannelLocation loc) |
NetSharedChannelOutput |
NetChannelEndFactory.createAny2Net(NetChannelLocation loc)
Constructs a
NetSharedChannelOutput object. |
NetSharedAltingConnectionClient |
StandardNetConnectionFactory.createAny2Net(NetChannelLocation serverLoc) |
NetChannelOutput |
StandardNetChannelEndFactory.createOne2Net(NetChannelLocation loc) |
static NetAltingConnectionClient |
NetConnection.createOne2Net(NetChannelLocation serverLoc) |
NetAltingConnectionClient |
NetConnectionFactory.createOne2Net(NetChannelLocation serverLoc)
Constructs a
NetAltingConnectionClient object. |
NetChannelOutput |
UnacknowledgedNetChannelEndFactory.createOne2Net(NetChannelLocation loc)
Creates an unacknowledged output channel end suitable for use by a single writer.
|
static NetChannelOutput |
NetChannelEnd.createOne2Net(NetChannelLocation loc) |
NetChannelOutput |
NetChannelEndFactory.createOne2Net(NetChannelLocation loc)
Constructs a
NetChannelOutput object. |
NetAltingConnectionClient |
StandardNetConnectionFactory.createOne2Net(NetChannelLocation serverLoc) |
void |
NetChannelOutput.recreate(NetChannelLocation newLoc)
Requests that the instance of the implementing class should
reinitialize itself with a new location.
|
protected void |
NetChannelLocation.refreshFrom(NetChannelLocation other)
This method refreshes the fields in the instance of this object to
equal the fields in the supplied object.
|
Constructor and Description |
---|
NetChannelLocation(NetChannelLocation other)
This is a protected constructor which takes another
NetChannelLocation object and "clones" it into this one. |
Modifier and Type | Class and Description |
---|---|
class |
CNSNetChannelLocation
Instances of this class are returned by the resolve methods
of
. |
Modifier and Type | Method and Description |
---|---|
NetChannelLocation |
CNSUser.resolve(java.lang.String name)
This method resolves a channel name into a
NetChannelLocation object. |
NetChannelLocation |
CNSService.resolve(java.lang.String name)
This method resolves a channel name into a
NetChannelLocation object. |
static NetChannelLocation |
CNS.resolve(java.lang.String name) |
NetChannelLocation |
CNSUser.resolve(java.lang.String name,
NameAccessLevel accessLevel)
This method resolves a channel name into a
NetChannelLocation object. |
NetChannelLocation |
CNSService.resolve(java.lang.String name,
NameAccessLevel accessLevel)
This method resolves a channel name into a
NetChannelLocation object. |
static NetChannelLocation |
CNS.resolve(java.lang.String name,
NameAccessLevel accessLevel) |
Modifier and Type | Method and Description |
---|---|
ChannelNameKey |
CNSUser.register(NetChannelLocation ownerLocation,
java.lang.String name,
NameAccessLevel accessLevel,
ChannelNameKey key)
This method allows a channel's location to be registered against a
name in the Naming Service implementation.
|
ChannelNameKey |
CNSService.register(NetChannelLocation ownerLocation,
java.lang.String name,
NameAccessLevel accessLevel,
ChannelNameKey key)
This method allows a channel's location to be registered against a
name in the Channel Name Server.
|
static ChannelNameKey |
CNS.register(NetChannelLocation ownerLocation,
java.lang.String name,
NameAccessLevel accessLevel,
ChannelNameKey key) |
Modifier and Type | Method and Description |
---|---|
NetChannelLocation |
InputReconnectionManager.getCurrentLocation()
Returns the current location of the channel.
|
Modifier and Type | Method and Description |
---|---|
NetSharedChannelOutput |
MigratableChannelEndFactory.createAny2Net(NetChannelLocation loc) |
NetChannelOutput |
MigratableChannelEndFactory.createOne2Net(NetChannelLocation loc) |
static MigratableChannelOutput |
MigratableChannelEnd.createOne2Net(NetChannelLocation loc)
Creates a migratable channel output to a given location.
|
Copyright © 1996–2019. All rights reserved.