LocateRequestMessage_1_2public final class LocateRequestMessage_1_2 extends Message_1_2 implements LocateRequestMessageThis implements the GIOP 1.2 LocateRequest header. |
Fields Summary |
---|
private com.sun.corba.se.spi.orb.ORB | orb | private com.sun.corba.se.spi.ior.ObjectKey | objectKey | private TargetAddress | target |
Constructors Summary |
---|
LocateRequestMessage_1_2(com.sun.corba.se.spi.orb.ORB orb)
// Constructors
this.orb = orb;
| LocateRequestMessage_1_2(com.sun.corba.se.spi.orb.ORB orb, int _request_id, TargetAddress _target)
super(Message.GIOPBigMagic, GIOPVersion.V1_2, FLAG_NO_FRAG_BIG_ENDIAN,
Message.GIOPLocateRequest, 0);
this.orb = orb;
request_id = _request_id;
target = _target;
|
Methods Summary |
---|
public void | callback(MessageHandler handler)
handler.handleInput(this);
| public com.sun.corba.se.spi.ior.ObjectKey | getObjectKey()
if (this.objectKey == null) {
// this will raise a MARSHAL exception upon errors.
this.objectKey = MessageBase.extractObjectKey(target, orb);
}
return this.objectKey;
| public int | getRequestId()
return this.request_id;
| public void | read(org.omg.CORBA.portable.InputStream istream)
super.read(istream);
this.request_id = istream.read_ulong();
this.target = TargetAddressHelper.read(istream);
getObjectKey(); // this does AddressingDisposition check
| public void | write(org.omg.CORBA.portable.OutputStream ostream)
super.write(ostream);
ostream.write_ulong (this.request_id);
nullCheck(this.target);
TargetAddressHelper.write(ostream, this.target);
|
|