Class RemoteServiceClientReference
java.lang.Object
org.eclipse.ecf.remoteservice.client.RemoteServiceClientReference
- All Implemented Interfaces:
IRemoteServiceReference
Reference objects for
AbstractClientContainer
.- Since:
- 4.0
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRemoteServiceClientReference
(RemoteServiceClientRegistration remoteServiceClientRegistration) -
Method Summary
Modifier and TypeMethodDescriptionGet container ID for remote servicegetID()
Get the remote service ID for this reference.getProperty
(String key) Get given property for remote serviceString[]
Get all property keys for remote serviceboolean
isActive()
Return true if reference is active, false otherwisetoString()
-
Field Details
-
registration
-
-
Constructor Details
-
RemoteServiceClientReference
public RemoteServiceClientReference(RemoteServiceClientRegistration remoteServiceClientRegistration)
-
-
Method Details
-
getContainerID
Description copied from interface:IRemoteServiceReference
Get container ID for remote service- Specified by:
getContainerID
in interfaceIRemoteServiceReference
- Returns:
- ID the containerID for this reference (where the service is
located). Will not be
null
.
-
getID
Description copied from interface:IRemoteServiceReference
Get the remote service ID for this reference. Will not returnnull
.- Specified by:
getID
in interfaceIRemoteServiceReference
- Returns:
- IRemoteServiceID the id for the remote service associated with this reference.
-
getProperty
Description copied from interface:IRemoteServiceReference
Get given property for remote service- Specified by:
getProperty
in interfaceIRemoteServiceReference
- Parameters:
key
- the key for the property to get. Must not benull
.- Returns:
- Object the object or
null
if does not have named property
-
getPropertyKeys
Description copied from interface:IRemoteServiceReference
Get all property keys for remote service- Specified by:
getPropertyKeys
in interfaceIRemoteServiceReference
- Returns:
- String [] of property keys. Will not be
null
, but may be empty array.
-
isActive
public boolean isActive()Description copied from interface:IRemoteServiceReference
Return true if reference is active, false otherwise- Specified by:
isActive
in interfaceIRemoteServiceReference
- Returns:
- true if reference is currently active, false otherwise
-
toString
-