org.jboss.remoting.stream
public class: StreamCallPayload [javadoc |
source]
java.lang.Object
org.jboss.remoting.stream.StreamCallPayload
All Implemented Interfaces:
java$io$Serializable
The StreamCallPayload is used when making calls from the server
to the client to read from the original input stream.
It will contain the method name being called from the server side (i.e. available(), read(), etc.)
along with any parameters for the respective method.
| Field Summary |
|---|
| static final long | serialVersionUID | |
| Constructor: |
public StreamCallPayload(String methodCallName) {
this.method = methodCallName;
}
Constructor which requires the name of the method to call on the
the original stream. Parameters:
methodCallName -
|
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.jboss.remoting.stream.StreamCallPayload Detail: |
public String getMethod() {
return method;
}
Gets the method to call on the original stream. |
public Object[] getParams() {
return this.paramArray;
}
Gets the params for the method to call on the stream. |
public void setParams(Object[] params) {
this.paramArray = params;
}
Sets the params for the method to call on the
stream. For example, the Integer for markSupported(int supported). |