public abstract class DynamicIIOPStub extends Stub
javax.rmi.CORBA.Stub
.
A DynamicIIOPStub
is a local proxy of a remote object. It has
methods (invoke()
, invokeBoolean()
,
invokeByte()
, and so on) that send an IIOP request to the
server that implements the remote object, receive the reply from the
server, and return the results to the caller. All of these methods take
the IDL name of the operation, a StubStrategy
instance to
be used for marshalling parameters and unmarshalling the result, plus an
array of operation parameters.Constructor and Description |
---|
DynamicIIOPStub()
Constructs a
DynamicIIOPStub . |
Modifier and Type | Method and Description |
---|---|
Object |
invoke(String operationName,
StubStrategy stubStrategy,
Object[] params)
Sends a request message to the server, receives the reply from the
server, and returns an
Object result to the caller. |
boolean |
invokeBoolean(String operationName,
StubStrategy stubStrategy,
Object[] params)
Sends a request message to the server, receives the reply from the
server, and returns a
boolean result to the caller. |
byte |
invokeByte(String operationName,
StubStrategy stubStrategy,
Object[] params)
Sends a request message to the server, receives the reply from the
server, and returns a
byte result to the caller. |
char |
invokeChar(String operationName,
StubStrategy stubStrategy,
Object[] params)
Sends a request message to the server, receives the reply from the
server, and returns a
char result to the caller. |
double |
invokeDouble(String operationName,
StubStrategy stubStrategy,
Object[] params)
Sends a request message to the server, receives the reply from the
server, and returns a
double result to the caller. |
float |
invokeFloat(String operationName,
StubStrategy stubStrategy,
Object[] params)
Sends a request message to the server, receives the reply from the
server, and returns a
float result to the caller. |
int |
invokeInt(String operationName,
StubStrategy stubStrategy,
Object[] params)
Sends a request message to the server, receives the reply from the
server, and returns an
int result to the caller. |
long |
invokeLong(String operationName,
StubStrategy stubStrategy,
Object[] params)
Sends a request message to the server, receives the reply from the
server, and returns a
long result to the caller. |
short |
invokeShort(String operationName,
StubStrategy stubStrategy,
Object[] params)
Sends a request message to the server, receives the reply from the
server, and returns a
short result to the caller. |
String |
toString() |
_get_codebase
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _ids, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override
public Object invoke(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
Object
result to the caller.Throwable
public boolean invokeBoolean(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
boolean
result to the caller.Throwable
public byte invokeByte(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
byte
result to the caller.Throwable
public char invokeChar(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
char
result to the caller.Throwable
public short invokeShort(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
short
result to the caller.Throwable
public int invokeInt(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
int
result to the caller.Throwable
public long invokeLong(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
long
result to the caller.Throwable
public float invokeFloat(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
float
result to the caller.Throwable
public double invokeDouble(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
double
result to the caller.Throwable
Copyright © 2014 JBoss by Red Hat. All rights reserved.