|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.spicefactory.cinnamon.service.ServiceMessage
org.spicefactory.cinnamon.service.ServiceRequest
public class ServiceRequest
Represents a single service request. All information needed for a service invocation is encapsulated in this single instance. It is usually the only object sent in a Cinnamon AMF3 request.
| Constructor Summary | |
|---|---|
ServiceRequest()
Creates a new ServiceRequest. |
|
ServiceRequest(String serviceName,
String operationName,
Object[] parameters)
Creates a new ServiceRequest. |
|
| Method Summary | |
|---|---|
String |
getOperationName()
The name of the operation to invoke. |
Object[] |
getParameters()
The method parameters. |
String |
getServiceName()
The name of the service to invoke. |
void |
readExternal(DataInput in)
Restores the content of this object from the DataInput instance. |
void |
setParameters(Object[] parameters)
Sets the parameters to use for the service invocation. |
String |
toString()
|
void |
writeExternal(DataOutput out)
Saves the content of this object to the DataOutput instance. |
| Methods inherited from class org.spicefactory.cinnamon.service.ServiceMessage |
|---|
getHeaderNames, getHeaderValue, removeHeader, setHeader |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceRequest()
public ServiceRequest(String serviceName,
String operationName,
Object[] parameters)
serviceName - the name of the serviceoperationName - the name of the operationparameters - the method parameters| Method Detail |
|---|
public String getServiceName()
public String getOperationName()
public Object[] getParameters()
public void setParameters(Object[] parameters)
ServiceMessageProcessor have the opportunity to overwrite the
parameters sent by the client.
parameters - the parameters to use for the service invocationpublic void readExternal(DataInput in)
Externalizable
readExternal in interface ExternalizablereadExternal in class ServiceMessagein - the AMF3 data to read frompublic void writeExternal(DataOutput out)
Externalizable
writeExternal in interface ExternalizablewriteExternal in class ServiceMessageout - the output to write topublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||