|
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.events.EventError
public abstract class EventError
Indicates that the request was unknown to URS, or that some parameters were missing or invalid.
Related Requests: All
Example:
Here is a sample of the console output for a typical EventError:
'EventError' (1) attributes:
R_cdn_status [int] = 0 [Released]
R_cdn [str] = ""
R_ErrorCode [int] = 4 [NotAvailable]
R_tserver [str] = ""
R_refID [int] = 1
R_time [str] = ""
R_path [str] = "<Path>"
Field Summary | |
---|---|
static int |
ID
|
static java.lang.String |
NAME
|
Method Summary | |
---|---|
static EventError |
create()
Creates instance of EventError with no parameters set. |
static EventError |
create(java.lang.Integer clientId,
java.lang.String tServer,
java.lang.String routingPoint,
java.lang.String path,
java.lang.String timestamp,
RoutingPointStatus routingPointStatus,
ErrorCode errorCode,
java.lang.String errorMessage,
java.lang.String message,
OperationContext context,
KeyValueCollection result)
Creates instance of EventError with all parameters set. |
abstract java.lang.Integer |
getClientId()
|
abstract OperationContext |
getContext()
Provides information about the associated interaction, using a format similar to TEvent. |
abstract ErrorCode |
getErrorCode()
|
abstract java.lang.String |
getErrorMessage()
|
abstract java.lang.String |
getMessage()
|
abstract java.lang.String |
getPath()
The path to the routing strategy that is to be loaded. |
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 KeyValueCollection |
getResult()
|
abstract java.lang.String |
getRoutingPoint()
The routing point that is to be loaded or released. |
abstract RoutingPointStatus |
getRoutingPointStatus()
|
abstract java.lang.String |
getTimestamp()
|
abstract java.lang.String |
getTServer()
The T-Server to be used by the strategy associated with this request. |
abstract void |
setClientId(int clientId)
|
abstract void |
setClientId(java.lang.Integer clientId)
|
abstract void |
setContext(OperationContext context)
Provides information about the associated interaction, using a format similar to TEvent. |
abstract void |
setErrorCode(ErrorCode errorCode)
|
abstract void |
setErrorMessage(java.lang.String errorMessage)
|
abstract void |
setMessage(java.lang.String message)
|
abstract void |
setPath(java.lang.String path)
The path to the routing strategy that is to be loaded. |
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 |
setResult(KeyValueCollection result)
|
abstract void |
setRoutingPoint(java.lang.String routingPoint)
The routing point that is to be loaded or released. |
abstract void |
setRoutingPointStatus(RoutingPointStatus routingPointStatus)
|
abstract void |
setTimestamp(java.lang.String timestamp)
|
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 EventError create()
public static EventError create(java.lang.Integer clientId, java.lang.String tServer, java.lang.String routingPoint, java.lang.String path, java.lang.String timestamp, RoutingPointStatus routingPointStatus, ErrorCode errorCode, java.lang.String errorMessage, java.lang.String message, OperationContext context, KeyValueCollection result)
clientId
- tServer
- The T-Server to be used by the strategy associated with this request.routingPoint
- path
- timestamp
- routingPointStatus
- errorCode
- errorMessage
- message
- context
- Provides information about the associated interaction, using a format similar to TEvent.result
-
public abstract java.lang.Integer getReferenceId()
public abstract void setReferenceId(java.lang.Integer referenceId)
public abstract void setReferenceId(int referenceId)
public abstract java.lang.Integer getClientId()
public abstract void setClientId(java.lang.Integer clientId)
clientId
- new value of the propertypublic abstract void setClientId(int clientId)
clientId
- new value of the propertypublic 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)
public abstract java.lang.String getPath()
public abstract void setPath(java.lang.String path)
public abstract java.lang.String getTimestamp()
public abstract void setTimestamp(java.lang.String timestamp)
timestamp
- new value of the propertypublic abstract RoutingPointStatus getRoutingPointStatus()
public abstract void setRoutingPointStatus(RoutingPointStatus routingPointStatus)
routingPointStatus
- new value of the propertypublic abstract ErrorCode getErrorCode()
public abstract void setErrorCode(ErrorCode errorCode)
errorCode
- new value of the propertypublic abstract java.lang.String getErrorMessage()
public abstract void setErrorMessage(java.lang.String errorMessage)
errorMessage
- new value of the propertypublic abstract java.lang.String getMessage()
public abstract void setMessage(java.lang.String message)
message
- new value of the propertypublic abstract OperationContext getContext()
public abstract void setContext(OperationContext context)
public abstract KeyValueCollection getResult()
public abstract void setResult(KeyValueCollection result)
result
- new value of the property
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |