public abstract class Request<E extends Response> extends Operation
Operation.Type| Constructor and Description |
|---|
Request(Operation.Type value) |
| Modifier and Type | Method and Description |
|---|---|
abstract E |
createResponse() |
Account |
getAccount() |
Application |
getApplication() |
void |
setAccount(Account value) |
void |
setApplication(Application application) |
String |
toString() |
void |
validate()
Validates the operation whether it contains all required properties
per the SXMP protocol specifications.
|
getReferenceId, getTicketId, getType, getVersion, isRequest, isResponse, setReferenceId, setTicketIdpublic Request(Operation.Type value)
public void setAccount(Account value)
public Account getAccount()
public Application getApplication()
public void setApplication(Application application)
public abstract E createResponse() throws SxmpErrorException
SxmpErrorExceptionpublic void validate()
throws SxmpErrorException
Operationvalidate in class OperationSxmpErrorException - Thrown if any required elements are missing.Copyright © 2016. All rights reserved.