Platform SDK Java 8.5 API Reference

com.genesyslab.platform.routing.protocol.routingserver.requests
Class RequestReleaseStrategy

java.lang.Object
  extended by com.genesyslab.platform.commons.protocol.DataObject
      extended by com.genesyslab.platform.commons.protocol.Message
          extended by com.genesyslab.platform.routing.protocol.routingserver.requests.RequestReleaseStrategy
All Implemented Interfaces:
ProtocolDescriptionSupport

public abstract class RequestReleaseStrategy
extends Message

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.

Related Events:
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.

Example:

 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

ID

public static final int ID
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Method Detail

create

public static RequestReleaseStrategy create()
Creates instance of RequestReleaseStrategy with no parameters set.

Returns:
instance of RequestReleaseStrategy

create

public static RequestReleaseStrategy create(java.lang.String tServer,
                                            java.lang.String routingPoint)
Creates instance of RequestReleaseStrategy with all parameters set.

Parameters:
tServer - The T-Server to be used by the strategy associated with this request.
routingPoint -
Returns:
instance of RequestReleaseStrategy

getReferenceId

public 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.


setReferenceId

public 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.


setReferenceId

public 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.


getTServer

public abstract java.lang.String getTServer()
The T-Server to be used by the strategy associated with this request.


setTServer

public abstract void setTServer(java.lang.String tServer)
The T-Server to be used by the strategy associated with this request.


getRoutingPoint

public abstract java.lang.String getRoutingPoint()
The routing point that is to be loaded or released.


setRoutingPoint

public abstract void setRoutingPoint(java.lang.String routingPoint)
The routing point that is to be loaded or released.


Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.