Save This Page
Home » JBoss-5.1.0 » org » jboss » remoting » stream » [javadoc | source]
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) 
    Constructor which requires the name of the method to call on the the original stream.
    Parameters:
    methodCallName -
Method from org.jboss.remoting.stream.StreamCallPayload Summary:
getMethod,   getParams,   setParams
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() 
    Gets the method to call on the original stream.
 public Object[] getParams() 
    Gets the params for the method to call on the stream.
 public  void setParams(Object[] params) 
    Sets the params for the method to call on the stream. For example, the Integer for markSupported(int supported).