RequestMessage_1_1(ORB orb, ServiceContexts _service_contexts, int _request_id, boolean _response_expected, byte[] _reserved, byte[] _object_key, String _operation, Principal _requesting_principal) { super(Message.GIOPBigMagic, GIOPVersion.V1_1, FLAG_NO_FRAG_BIG_ENDIAN, Message.GIOPRequest, 0); this.orb = orb; this.wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.RPC_PROTOCOL ) ; service_contexts = _service_contexts; request_id = _request_id; response_expected = _response_expected; reserved = _reserved; object_key = _object_key; operation = _operation; requesting_principal = _requesting_principal; }
/** * @deprecated */ @Deprecated public void insert_Principal(Principal p) { typeCode = orb.get_primitive_tc(TCKind._tk_Principal); object = p; isInitialized = true; }
/** * @deprecated */ @Deprecated public Principal extract_Principal() { checkExtractBadOperation( TCKind._tk_Principal ) ; return (Principal)object; }
RequestMessage_1_0(ORB orb, ServiceContexts _service_contexts, int _request_id, boolean _response_expected, byte[] _object_key, String _operation, Principal _requesting_principal) { super(Message.GIOPBigMagic, false, Message.GIOPRequest, 0); this.orb = orb; service_contexts = _service_contexts; request_id = _request_id; response_expected = _response_expected; object_key = _object_key; operation = _operation; requesting_principal = _requesting_principal; }
public Principal read_Principal() { // We don't need an implementation for this method, since principal // is absent in GIOP version 1.2 or above. int len = read_long(); byte[] pvalue = new byte[len]; read_octet_array(pvalue,0,len); Principal p = new com.sun.corba.se.impl.corba.PrincipalImpl(); p.name(pvalue); return p; }
public Principal read_Principal() { int len = read_long(); byte[] pvalue = new byte[len]; read_octet_array(pvalue,0,len); Principal p = new PrincipalImpl(); p.name(pvalue); return p; }