|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.commons.protocol.DataObject
com.genesyslab.platform.commons.protocol.Message
com.genesyslab.platform.routing.protocol.routingserver.requests.RequestReleaseStrategy
public abstract class RequestReleaseStrategy
This request disassociates a routing point from a strategy that was previously loaded
with RequestLoadStrategy; it can even completely unload the strategy from the
router's memory.
Required parameters:
Name | Description |
---|---|
RoutingPoint | The routing point currently associated with the strategy that is to be released. |
TServer | The T-Server being used by the strategy. |
Name | Description |
---|---|
EventInfo |
Contains information about URS's handling of your request. |
EventError |
Indicates that the request was unknown to URS, or that some parameters were missing or invalid. |
RequestReleaseStrategy requestReleaseStrategy =
RequestReleaseStrategy.create();
requestReleaseStrategy.setTServer("TheT-Server");
requestReleaseStrategy.setRoutingPoint("TheRoutingPoint");
Message response = protocol.request(requestReleaseStrategy);
Field Summary | |
---|---|
static int |
ID
|
static java.lang.String |
NAME
|
Method Summary | |
---|---|
static RequestReleaseStrategy |
create()
Creates instance of RequestReleaseStrategy with no parameters set. |
static RequestReleaseStrategy |
create(java.lang.String tServer,
java.lang.String routingPoint)
Creates instance of RequestReleaseStrategy with all parameters set. |
abstract java.lang.Integer |
getReferenceId()
The reference ID that connects a response to a request; if set to 0, it means that the ReferenceId should be assigned by ReferenceBuilder. |
abstract java.lang.String |
getRoutingPoint()
The routing point that is to be loaded or released. |
abstract java.lang.String |
getTServer()
The T-Server to be used by the strategy associated with this request. |
abstract void |
setReferenceId(int referenceId)
The reference ID that connects a response to a request; if set to 0, it means that the ReferenceId should be assigned by ReferenceBuilder. |
abstract void |
setReferenceId(java.lang.Integer referenceId)
The reference ID that connects a response to a request; if set to 0, it means that the ReferenceId should be assigned by ReferenceBuilder. |
abstract void |
setRoutingPoint(java.lang.String routingPoint)
The routing point that is to be loaded or released. |
abstract void |
setTServer(java.lang.String tServer)
The T-Server to be used by the strategy associated with this request. |
Methods inherited from class com.genesyslab.platform.commons.protocol.Message |
---|
cloneMessage, getEndpoint, getMessageAttribute, getProtocolDescription, getProtocolId, messageId, messageName, setProtocolDescription |
Methods inherited from class com.genesyslab.platform.commons.protocol.DataObject |
---|
equals, hashCode, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int ID
public static final java.lang.String NAME
Method Detail |
---|
public static RequestReleaseStrategy create()
public static RequestReleaseStrategy create(java.lang.String tServer, java.lang.String routingPoint)
tServer
- The T-Server to be used by the strategy associated with this request.routingPoint
-
public abstract java.lang.Integer getReferenceId()
public abstract void setReferenceId(java.lang.Integer referenceId)
public abstract void setReferenceId(int referenceId)
public abstract java.lang.String getTServer()
public abstract void setTServer(java.lang.String tServer)
public abstract java.lang.String getRoutingPoint()
public abstract void setRoutingPoint(java.lang.String routingPoint)
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |