public static void writeNullServiceContext(OutputStream os) { if (isDebugging(os)) ORBUtility.dprint("ServiceContexts", "Writing null service context"); os.write_long(0); }
public static void writeNullServiceContext(OutputStream os) { if (isDebugging(os)) ORBUtility.dprint("ServiceContexts", "Writing null service context"); os.write_long(0); }
/** * Write the given entry from the scMap to the OutputStream. See note on giopVersion. The service context should * know the GIOP version it is meant for. */ private void writeMapEntry(OutputStream os, Integer id, Object scObj, GIOPVersion gv) { // If it's still in byte[] form, we don't need to // unmarshal it here, just copy the bytes into // the new stream. if (scObj instanceof byte[]) { if (isDebugging(os)) dprint("Writing service context bytes for id " + id); OctetSeqHelper.write(os, (byte[]) scObj); } else { // We actually unmarshaled it into a ServiceContext // at some point. ServiceContext sc = (ServiceContext) scObj; if (isDebugging(os)) dprint("Writing service context " + sc); sc.write(os, gv); } }
/** * Write the given entry from the scMap to the OutputStream. See note on giopVersion. The service context should * know the GIOP version it is meant for. */ private void writeMapEntry(OutputStream os, Integer id, Object scObj, GIOPVersion gv) { // If it's still in byte[] form, we don't need to // unmarshal it here, just copy the bytes into // the new stream. if (scObj instanceof byte[]) { if (isDebugging(os)) dprint("Writing service context bytes for id " + id); OctetSeqHelper.write(os, (byte[]) scObj); } else { // We actually unmarshaled it into a ServiceContext // at some point. ServiceContext sc = (ServiceContext) scObj; if (isDebugging(os)) dprint("Writing service context " + sc); sc.write(os, gv); } }
if (isDebugging(os)) if (isDebugging(os)) dprint("Adding alignment padding"); if (isDebugging(os)) dprint("Service context has " + numsc + " components"); if (isDebugging(os)) dprint("Writing alignment padding"); if (isDebugging(os)) dprint("Service context writing complete");
if (isDebugging(os)) if (isDebugging(os)) dprint("Adding alignment padding"); if (isDebugging(os)) dprint("Service context has " + numsc + " components"); if (isDebugging(os)) dprint("Writing alignment padding"); if (isDebugging(os)) dprint("Service context writing complete");