|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ChannelEndpointManager
Channel endpoint manager. Can be used to add redundant service bindings to alternative endpoints and define policies. Additionally, it provides access to the timestamp transformation.
| Field Summary | |
|---|---|
static int |
FAILOVER_REDUNDANCY_POLICY
|
static int |
LOADBALANCING_ANY_POLICY
|
static int |
LOADBALANCING_ONE_POLICY
|
static int |
NO_POLICY
|
| Method Summary | |
|---|---|
void |
addRedundantEndpoint(URI service,
URI redundant)
add a reduntant binding for a service. |
URI |
getLocalAddress()
get the local address of the managed channel endpoint. |
void |
removeRedundantEndpoint(URI service,
URI redundant)
remove a redundant binding from a service. |
void |
setEndpointPolicy(URI service,
int policy)
set a policy for making use of redundant service bindings. |
Timestamp |
transformTimestamp(Timestamp timestamp)
transform a timestamp into the peer's local time. |
| Field Detail |
|---|
static final int NO_POLICY
static final int FAILOVER_REDUNDANCY_POLICY
static final int LOADBALANCING_ANY_POLICY
static final int LOADBALANCING_ONE_POLICY
| Method Detail |
|---|
void addRedundantEndpoint(URI service,
URI redundant)
service - the URI of the service.redundant - the URI of the redundant service.
void removeRedundantEndpoint(URI service,
URI redundant)
service - the URI of the service.redundant - the URI of the redundant service.
void setEndpointPolicy(URI service,
int policy)
service - the URI of the service.policy - the policy to be used.URI getLocalAddress()
Timestamp transformTimestamp(Timestamp timestamp)
throws RemoteOSGiException
timestamp - the Timestamp.
RemoteOSGiException - if the transformation fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||