public ObjectKey getObjectKey() { if (this.objectKey == null) { // this will raise a MARSHAL exception upon errors. this.objectKey = MessageBase.extractObjectKey(object_key, orb); } return this.objectKey; }
public SystemException getSystemException(String message) { return MessageBase.getSystemException(exClassName, minorCode, completionStatus, message, wrapper); }
public static MessageBase readGIOPMessage(ORB orb, CorbaConnection connection) { MessageBase msg = readGIOPHeader(orb, connection); msg = (MessageBase) readGIOPBody(orb, connection, msg); return msg; }
dprint(".readGIOPHeader: " + typeToString(buf.get(7))); dprint(".readGIOPHeader: GIOP header is: "); ByteBuffer viewBuffer = buf.asReadOnlyBuffer(); viewBuffer.position(0).limit(GIOPMessageHeaderLength); dprint(".readGIOPHeader: Message GIOP version: " + buf.get(4) + '.' + buf.get(5)); dprint(".readGIOPHeader: ORB Max GIOP Version: " + orbVersion); AreFragmentsAllowed(buf.get(4), buf.get(5), buf.get(6), buf.get(7)); dprint(".readGIOPHeader: creating RequestMessage"); dprint(".readGIOPHeader: creating LocateRequestMessage"); dprint(".readGIOPHeader: creating CancelRequestMessage"); dprint(".readGIOPHeader: creating ReplyMessage"); dprint(".readGIOPHeader: creating LocateReplyMessage"); dprint(".readGIOPHeader: creating Message for CloseConnection or MessageError"); dprint(".readGIOPHeader: creating FragmentMessage"); dprint(".readGIOPHeader: UNKNOWN MESSAGE TYPE: " + buf.get(7)); msg10.message_size = readSize(buf.get(8), buf.get(9), buf.get(10), buf.get(11), msg10.isLittleEndian()) + GIOPMessageHeaderLength;
public static Message readGIOPBody(ORB orb, CorbaConnection connection, Message msg) { ReadTimeouts readTimeouts = orb.getORBData().getTransportTCPReadTimeouts(); ByteBuffer buf = msg.getByteBuffer(); buf.position(MessageBase.GIOPMessageHeaderLength); int msgSizeMinusHeader = msg.getSize() - MessageBase.GIOPMessageHeaderLength; try { buf = connection .read(buf, GIOPMessageHeaderLength, msgSizeMinusHeader, readTimeouts.get_max_time_to_wait()); } catch (IOException e) { throw wrapper.ioexceptionWhenReadingConnection(e); } msg.setByteBuffer(buf); if (orb.giopDebugFlag) { dprint(".readGIOPBody: received message:"); ByteBuffer viewBuffer = buf.asReadOnlyBuffer(); viewBuffer.position(0).limit(msg.getSize()); ByteBufferWithInfo bbwi = new ByteBufferWithInfo(orb, viewBuffer); CDRInputStream_1_0.printBuffer(bbwi); } return msg; }
ObjectKey objKey = profile.getObjectKey(); byte[] object_key = objKey.getBytes(orb); requestMessage = createRequest(orb, gv, encodingVersion, request_id, response_expected, object_key, operation, service_contexts, requesting_principal);
dprint(".readGIOPHeader: " + typeToString(buf.get(7))); dprint(".readGIOPHeader: GIOP header is: "); ByteBuffer viewBuffer = buf.asReadOnlyBuffer(); viewBuffer.position(0).limit(GIOPMessageHeaderLength); dprint(".readGIOPHeader: Message GIOP version: " + buf.get(4) + '.' + buf.get(5)); dprint(".readGIOPHeader: ORB Max GIOP Version: " + orbVersion); AreFragmentsAllowed(buf.get(4), buf.get(5), buf.get(6), buf.get(7)); dprint(".readGIOPHeader: creating RequestMessage"); dprint(".readGIOPHeader: creating LocateRequestMessage"); dprint(".readGIOPHeader: creating CancelRequestMessage"); dprint(".readGIOPHeader: creating ReplyMessage"); dprint(".readGIOPHeader: creating LocateReplyMessage"); dprint(".readGIOPHeader: creating Message for CloseConnection or MessageError"); dprint(".readGIOPHeader: creating FragmentMessage"); dprint(".readGIOPHeader: UNKNOWN MESSAGE TYPE: " + buf.get(7)); msg10.message_size = readSize(buf.get(8), buf.get(9), buf.get(10), buf.get(11), msg10.isLittleEndian()) + GIOPMessageHeaderLength;
public static Message readGIOPBody(ORB orb, CorbaConnection connection, Message msg) { ReadTimeouts readTimeouts = orb.getORBData().getTransportTCPReadTimeouts(); ByteBuffer buf = msg.getByteBuffer(); buf.position(MessageBase.GIOPMessageHeaderLength); int msgSizeMinusHeader = msg.getSize() - MessageBase.GIOPMessageHeaderLength; try { buf = connection .read(buf, GIOPMessageHeaderLength, msgSizeMinusHeader, readTimeouts.get_max_time_to_wait()); } catch (IOException e) { throw wrapper.ioexceptionWhenReadingConnection(e); } msg.setByteBuffer(buf); if (orb.giopDebugFlag) { dprint(".readGIOPBody: received message:"); ByteBuffer viewBuffer = buf.asReadOnlyBuffer(); viewBuffer.position(0).limit(msg.getSize()); ByteBufferWithInfo bbwi = new ByteBufferWithInfo(orb, viewBuffer); CDRInputStream_1_0.printBuffer(bbwi); } return msg; }
ObjectKey objKey = profile.getObjectKey(); byte[] object_key = objKey.getBytes(orb); requestMessage = createRequest(orb, gv, encodingVersion, request_id, response_expected, object_key, operation, service_contexts, requesting_principal);
public ObjectKey getObjectKey() { if (this.objectKey == null) { // this will raise a MARSHAL exception upon errors. this.objectKey = MessageBase.extractObjectKey(target, orb); } return this.objectKey; }
public static MessageBase readGIOPMessage(ORB orb, CorbaConnection connection) { MessageBase msg = readGIOPHeader(orb, connection); msg = (MessageBase) readGIOPBody(orb, connection, msg); return msg; }
public SystemException getSystemException(String message) { return MessageBase.getSystemException(exClassName, minorCode, completionStatus, message, wrapper); }
public ObjectKey getObjectKey() { if (this.objectKey == null) { // this will raise a MARSHAL exception upon errors. this.objectKey = MessageBase.extractObjectKey(object_key, orb); } return this.objectKey; }
public SystemException getSystemException(String message) { return MessageBase.getSystemException(exClassName, minorCode, completionStatus, message, wrapper); }
public ObjectKey getObjectKey() { if (this.objectKey == null) { // this will raise a MARSHAL exception upon errors. this.objectKey = MessageBase.extractObjectKey(object_key, orb); } return this.objectKey; }
public SystemException getSystemException(String message) { return MessageBase.getSystemException(exClassName, minorCode, completionStatus, message, wrapper); }
public ObjectKey getObjectKey() { if (this.objectKey == null) { // this will raise a MARSHAL exception upon errors. this.objectKey = MessageBase.extractObjectKey(target, orb); } return this.objectKey; }
public SystemException getSystemException(String message) { return MessageBase.getSystemException(exClassName, minorCode, completionStatus, message, wrapper); }
public ObjectKey getObjectKey() { if (this.objectKey == null) { // this will raise a MARSHAL exception upon errors. this.objectKey = MessageBase.extractObjectKey(object_key, orb); } return this.objectKey; }
public SystemException getSystemException(String message) { return MessageBase.getSystemException(exClassName, minorCode, completionStatus, message, wrapper); }