|
VisiBroker for Java |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.borland.vbroker.NativeMessaging.RequestDesc
public final class RequestDesc
Structure containing all the information needed to service an async request. Used by the
RequestAgent.create_request
method.
Field Summary | |
---|---|
java.lang.String |
polling_group
A user assigned polling group name. |
NameValuePair[] |
properties
Sequence of CORBA::NameValuePair . |
ReplyRecipient |
reply_recipient
Reference of the reply recipient when callback model is used. |
java.lang.String |
repository_id
Repository id of the target object. |
byte[] |
request_tag
User assigned sequence of octets. |
Object |
target
Reference of the target object upon which the client wish to invoke the operation. |
byte[] |
the_cookie
A user specified sequence of octets. |
Constructor Summary | |
---|---|
RequestDesc()
|
|
RequestDesc(Object target,
java.lang.String repository_id,
ReplyRecipient reply_recipient,
byte[] the_cookie,
java.lang.String polling_group,
byte[] request_tag,
NameValuePair[] properties)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Object target
CORBA::BAD_PARAM
exception will be raised if a null value for reference is passed.
public java.lang.String repository_id
CORBA::BAD_PARAM
exception is raised. Clients can also use a repository id of
"*". This acts as a wild card and is_a
operation on the request object returns true
for any repository id.
public ReplyRecipient reply_recipient
null
then the Request Agent will call its reply_available
method when a reply is ready.
public byte[] the_cookie
reply_recipient
when its method
reply_available
is called. The information inside the cookie is user defined.
public java.lang.String polling_group
public byte[] request_tag
DuplicatedRequestTag
exception is raised.
public NameValuePair[] properties
CORBA::NameValuePair
.
Note: Starting from VBE 6.0, the properties
field is defined as CORBA::NameValuePair
.
Applications using Native Messaging from VBE 5.1/5.2.x are wire interoperable with VBE 6.0
Request Agent (and vice versa). However, code changes are required if an older Native Messaging application
is to be compiled with VBE 6.0..
Constructor Detail |
---|
public RequestDesc()
public RequestDesc(Object target, java.lang.String repository_id, ReplyRecipient reply_recipient, byte[] the_cookie, java.lang.String polling_group, byte[] request_tag, NameValuePair[] properties)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |