public class CNSNetChannelLocation extends NetChannelLocation
Instances of this class are returned by the resolve methods
of
. JCSP.NET users cannot create
the objects directly.
CNSService
The objects returned by the
can be used
in place of normal CNSService
NetChannelLocation
objects.
Modifier and Type | Field and Description |
---|---|
private NameAccessLevel |
accessLevel |
private CNSUser |
cnsResolver |
private java.lang.String |
cnsServiceName |
private java.lang.String |
name |
Constructor and Description |
---|
CNSNetChannelLocation(NetChannelLocation locToClone,
java.lang.String name,
NameAccessLevel accessLevel,
CNSService cnsService,
java.lang.String cnsServiceName) |
Modifier and Type | Method and Description |
---|---|
boolean |
refresh()
This method requests that the instance of this class refresh
its information.
|
checkEqual, clone, equals, getChannelAddress, getChannelLabel, getChannelNodeID, getStringID, hashCode, refreshFrom
private java.lang.String name
private NameAccessLevel accessLevel
private transient CNSUser cnsResolver
private java.lang.String cnsServiceName
CNSNetChannelLocation(NetChannelLocation locToClone, java.lang.String name, NameAccessLevel accessLevel, CNSService cnsService, java.lang.String cnsServiceName)
public boolean refresh()
NetChannelInput
from the channel name server.refresh
in class NetChannelLocation
true
if any information has changed, otherwise
false
.