public abstract class BindingIteratorPOA extends Servant implements BindingIteratorOperations, InvokeHandler
Constructor and Description |
---|
BindingIteratorPOA()
|
Modifier and Type | Method and Description |
---|---|
String[] |
_all_interfaces(POA poa, byte[] objectId)
由ORB用于从仆人获取完整的类型信息。
|
OutputStream
|
_invoke(String $method,
InputStream in, ResponseHandler $rh)
由ORB调用,向仆人发出请求。
|
BindingIterator
|
_this()
|
BindingIterator
|
_this(ORB orb)
|
_default_POA,
_get_delegate,
_get_interface_def,
_is_a,
_non_existent,
_object_id,
_orb, _poa, _set_delegate,
_this_object,
_this_object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy,
next_n,
next_one
public OutputStream _invoke(String $method, InputStream in, ResponseHandler $rh)
InvokeHandler
1.确定正确的方法,并从InputStream中解组参数。
2.调用方法实现。
3.如果没有用户异常,请使用ResponseHandler创建正常回复。
4.如果发生用户异常,请使用ResponseHandler创建异常回复。
5.Massars回复ResponseHandler返回的OutputStream。
6.将OutputStream返回给ORB。
_invoke
在接口
InvokeHandler
$method
- 方法名称。
in
- 包含
InputStream
参数的InputStream。
$rh
-该
ResponseHandler
servant用来构造正确答复
OutputStream
创建的包含编组答复的OutputStream
public String[] _all_interfaces(POA poa, byte[] objectId)
Servant
_all_interfaces
在
Servant
poa
- 与仆人关联的POA。
objectId
- 是与该仆人关联的对象对应的id。
public BindingIterator _this()
public BindingIterator _this(ORB orb)