public class RemoteCall
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
DATABASE |
java.lang.String |
m_methodName |
java.lang.Object[] |
m_parameters |
int |
m_type |
static int |
SERVER |
static int |
USER |
Constructor and Description |
---|
RemoteCall()
Typically used to create an empty instance that will be populated
by a call to readObject().
|
RemoteCall(int p_type,
java.lang.String p_methodName,
java.lang.Object[] p_parameters)
Typically called to create an instance with all the necessary information
that will be sent to a server with a call to the send() method.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMethodName() |
java.lang.Object[] |
getParameters() |
int |
getType() |
void |
initFromStream(java.io.ObjectInputStream p_in) |
void |
setMethodName(java.lang.String p_methodName) |
void |
setParameters(java.lang.Object[] p_parameters) |
void |
setType(int p_type) |
public static final int SERVER
public static final int DATABASE
public static final int USER
public int m_type
public java.lang.String m_methodName
public java.lang.Object[] m_parameters
public RemoteCall()
public RemoteCall(int p_type, java.lang.String p_methodName, java.lang.Object[] p_parameters)
p_type
- Type of call.p_methodName
- Name of method to call.p_parameters
- Parameters to pass to the method call.public int getType()
public java.lang.String getMethodName()
public java.lang.Object[] getParameters()
public void setMethodName(java.lang.String p_methodName)
public void setParameters(java.lang.Object[] p_parameters)
public void setType(int p_type)
public void initFromStream(java.io.ObjectInputStream p_in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException