if (contextBody.discriminator() == MTMessageInContext.value) { long contextId = contextBody.in_context_msg().client_context_id; threadLocal.sasReply = createMsgCtxError(contextId, 4 /* major status: no context */); throw IIOPLogger.ROOT_LOGGER.missingSASContext();
protected Any makeMessageInContext(org.omg.CORBA.ORB orb, long client_context_id, boolean discard_context) { MessageInContext msg = new MessageInContext(); msg.client_context_id = client_context_id; msg.discard_context = discard_context; SASContextBody contextBody = new SASContextBody(); contextBody.in_context_msg(msg); Any any = orb.create_any(); SASContextBodyHelper.insert( any, contextBody ); return any; }
try msg = contextBody.in_context_msg(); client_context_id = msg.client_context_id; contextToken = getSASContext(connection, msg.client_context_id);
try msg = contextBody.in_context_msg(); client_context_id = msg.client_context_id; contextToken = getSASContext(connection, msg.client_context_id);
public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CSI.SASContextBody value) { ostream.write_short (value.discriminator ()); switch (value.discriminator ()) { case org.omg.CSI.MTEstablishContext.value: org.omg.CSI.EstablishContextHelper.write (ostream, value.establish_msg ()); break; case org.omg.CSI.MTCompleteEstablishContext.value: org.omg.CSI.CompleteEstablishContextHelper.write (ostream, value.complete_msg ()); break; case org.omg.CSI.MTContextError.value: org.omg.CSI.ContextErrorHelper.write (ostream, value.error_msg ()); break; case org.omg.CSI.MTMessageInContext.value: org.omg.CSI.MessageInContextHelper.write (ostream, value.in_context_msg ()); break; } }
public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CSI.SASContextBody value) { ostream.write_short (value.discriminator ()); switch (value.discriminator ()) { case org.omg.CSI.MTEstablishContext.value: org.omg.CSI.EstablishContextHelper.write (ostream, value.establish_msg ()); break; case org.omg.CSI.MTCompleteEstablishContext.value: org.omg.CSI.CompleteEstablishContextHelper.write (ostream, value.complete_msg ()); break; case org.omg.CSI.MTContextError.value: org.omg.CSI.ContextErrorHelper.write (ostream, value.error_msg ()); break; case org.omg.CSI.MTMessageInContext.value: org.omg.CSI.MessageInContextHelper.write (ostream, value.in_context_msg ()); break; } }
result.in_context_msg (_var); break;
public static void write (org.omg.CORBA.portable.OutputStream out, SASContextBody s) { out.write_short(s.discriminator ()); switch (s.discriminator ()) { case 0: { org.omg.CSI.EstablishContextHelper.write(out,s.establish_msg ()); break; } case 1: { org.omg.CSI.CompleteEstablishContextHelper.write(out,s.complete_msg ()); break; } case 4: { org.omg.CSI.ContextErrorHelper.write(out,s.error_msg ()); break; } case 5: { org.omg.CSI.MessageInContextHelper.write(out,s.in_context_msg ()); break; } } } }
result.in_context_msg (_var); break;
public static void write (org.omg.CORBA.portable.OutputStream out, SASContextBody s) { out.write_short(s.discriminator ()); switch (s.discriminator ()) { case 0: { org.omg.CSI.EstablishContextHelper.write(out,s.establish_msg ()); break; } case 1: { org.omg.CSI.CompleteEstablishContextHelper.write(out,s.complete_msg ()); break; } case 4: { org.omg.CSI.ContextErrorHelper.write(out,s.error_msg ()); break; } case 5: { org.omg.CSI.MessageInContextHelper.write(out,s.in_context_msg ()); break; } } } }
org.omg.CSI.MessageInContext _in_context_msg = null; _in_context_msg = org.omg.CSI.MessageInContextHelper.read (istream); value.in_context_msg (_in_context_msg); break; default:
org.omg.CSI.MessageInContext _in_context_msg = null; _in_context_msg = org.omg.CSI.MessageInContextHelper.read (istream); value.in_context_msg (_in_context_msg); break; default:
if (contextBody.discriminator() == MTMessageInContext.value) { long contextId = contextBody.in_context_msg().client_context_id; threadLocal.sasReply = createMsgCtxError(contextId, 4 /* major status: no context */); throw IIOPLogger.ROOT_LOGGER.missingSASContext();
if (contextBody.discriminator() == MTMessageInContext.value) { long contextId = contextBody.in_context_msg().client_context_id; threadLocal.sasReply = createMsgCtxError(contextId, 4 /* major status: no context */); throw IIOPLogger.ROOT_LOGGER.missingSASContext();