public class DefaultGatewayDelegator.DefaultGatewayDelegatorTarget extends Object implements GatewayDelegatorTarget
Constructor and Description |
---|
DefaultGatewayDelegatorTarget(String target,
String delegateThrough) |
Modifier and Type | Method and Description |
---|---|
String |
getDelegateThroughGatewayName()
Returns the name of the gateway delegator this delegator is connected to which routes
communication to the target gateway.
|
GatewayDelegator |
getDelegator()
Returns the delegator this delegation target is part of.
|
String |
getTargetGatewayName()
Returns the delegated target gateway name.
|
boolean |
isDelegateThroughOtherGateway()
Returns
true if the delegation is done via another delegator or
false if this delegator is connected directly to the target gateway. |
public GatewayDelegator getDelegator()
GatewayDelegatorTarget
getDelegator
in interface GatewayDelegatorTarget
public String getTargetGatewayName()
GatewayDelegatorTarget
getTargetGatewayName
in interface GatewayDelegatorTarget
public boolean isDelegateThroughOtherGateway()
GatewayDelegatorTarget
true
if the delegation is done via another delegator or
false
if this delegator is connected directly to the target gateway.isDelegateThroughOtherGateway
in interface GatewayDelegatorTarget
public String getDelegateThroughGatewayName()
GatewayDelegatorTarget
null
.getDelegateThroughGatewayName
in interface GatewayDelegatorTarget
GatewayDelegatorTarget.isDelegateThroughOtherGateway()
Copyright © GigaSpaces.