public MARSHAL unknownCodeset(Object arg0) { return unknownCodeset(CompletionStatus.COMPLETED_NO, null, arg0); }
public MARSHAL unknownCodeset(CompletionStatus cs, Object arg0) { return unknownCodeset(cs, null, arg0); }
public MARSHAL unknownCodeset(Throwable t, Object arg0) { return unknownCodeset(CompletionStatus.COMPLETED_NO, t, arg0); }
public MARSHAL unknownCodeset(CompletionStatus cs, Object arg0) { return unknownCodeset(cs, null, arg0); }
public MARSHAL unknownCodeset(Throwable t, Object arg0) { return unknownCodeset(CompletionStatus.COMPLETED_NO, t, arg0); }
public MARSHAL unknownCodeset(Object arg0) { return unknownCodeset(CompletionStatus.COMPLETED_NO, null, arg0); }
/** * Override the default CDR factory behavior to get the negotiated code sets from the connection. * * These are only called once per message, the first time needed. * * In the local case, there is no Connection, so use the local code sets. */ protected CodeSetConversion.BTCConverter createCharBTCConverter() { CodeSetComponentInfo.CodeSetContext codesets = getCodeSets(); // If the connection doesn't have its negotiated code sets by now, fall back on the defaults defined in // CDRInputStream. if (codesets == null) return super.createCharBTCConverter(); OSFCodeSetRegistry.Entry charSet = OSFCodeSetRegistry.lookupEntry(codesets.getCharCodeSet()); if (charSet == null) throw wrapper.unknownCodeset(charSet); return CodeSetConversion.impl().getBTCConverter(charSet, isLittleEndian()); }
/** * Override the default CDR factory behavior to get the negotiated code sets from the connection. * * These are only called once per message, the first time needed. * * In the local case, there is no Connection, so use the local code sets. */ protected CodeSetConversion.CTBConverter createCharCTBConverter() { CodeSetComponentInfo.CodeSetContext codesets = getCodeSets(); // If the connection doesn't have its negotiated // code sets by now, fall back on the defaults defined // in CDRInputStream. if (codesets == null) return super.createCharCTBConverter(); OSFCodeSetRegistry.Entry charSet = OSFCodeSetRegistry.lookupEntry(codesets.getCharCodeSet()); if (charSet == null) throw wrapper.unknownCodeset(charSet); return CodeSetConversion.impl().getCTBConverter(charSet, isLittleEndian(), false); }
/** * Override the default CDR factory behavior to get the negotiated code sets from the connection. * * These are only called once per message, the first time needed. * * In the local case, there is no Connection, so use the local code sets. */ protected CodeSetConversion.BTCConverter createCharBTCConverter() { CodeSetComponentInfo.CodeSetContext codesets = getCodeSets(); // If the connection doesn't have its negotiated code sets by now, fall back on the defaults defined in // CDRInputStream. if (codesets == null) return super.createCharBTCConverter(); OSFCodeSetRegistry.Entry charSet = OSFCodeSetRegistry.lookupEntry(codesets.getCharCodeSet()); if (charSet == null) throw wrapper.unknownCodeset(charSet); return CodeSetConversion.impl().getBTCConverter(charSet, isLittleEndian()); }
/** * Override the default CDR factory behavior to get the negotiated code sets from the connection. * * These are only called once per message, the first time needed. * * In the local case, there is no Connection, so use the local code sets. */ protected CodeSetConversion.CTBConverter createCharCTBConverter() { CodeSetComponentInfo.CodeSetContext codesets = getCodeSets(); // If the connection doesn't have its negotiated // code sets by now, fall back on the defaults defined // in CDRInputStream. if (codesets == null) return super.createCharCTBConverter(); OSFCodeSetRegistry.Entry charSet = OSFCodeSetRegistry.lookupEntry(codesets.getCharCodeSet()); if (charSet == null) throw wrapper.unknownCodeset(charSet); return CodeSetConversion.impl().getCTBConverter(charSet, isLittleEndian(), false); }
protected CodeSetConversion.BTCConverter createWCharBTCConverter() { CodeSetComponentInfo.CodeSetContext codesets = getCodeSets(); // If the connection doesn't have its negotiated code sets by now, we have to throw an exception. See CORBA // formal 00-11-03 13.9.2.6. if (codesets == null) { if (getConnection().isServer()) throw omgWrapper.noClientWcharCodesetCtx(); else throw omgWrapper.noServerWcharCodesetCmp(); } OSFCodeSetRegistry.Entry wcharSet = OSFCodeSetRegistry.lookupEntry(codesets.getWCharCodeSet()); if (wcharSet == null) throw wrapper.unknownCodeset(wcharSet); // For GIOP 1.2 and UTF-16, use big endian if there is no byte order marker. (See issue 3405b) // // For GIOP 1.1 and UTF-16, use the byte order the stream if there isn't (and there shouldn't be) a byte order // marker. // // GIOP 1.0 doesn't have wchars. If we're talking to a legacy ORB, we do what our old ORBs did. if (wcharSet == OSFCodeSetRegistry.UTF_16) { if (getGIOPVersion().equals(GIOPVersion.V1_2)) return CodeSetConversion.impl().getBTCConverter(wcharSet, false); } return CodeSetConversion.impl().getBTCConverter(wcharSet, isLittleEndian()); }
protected CodeSetConversion.BTCConverter createWCharBTCConverter() { CodeSetComponentInfo.CodeSetContext codesets = getCodeSets(); // If the connection doesn't have its negotiated code sets by now, we have to throw an exception. See CORBA // formal 00-11-03 13.9.2.6. if (codesets == null) { if (getConnection().isServer()) throw omgWrapper.noClientWcharCodesetCtx(); else throw omgWrapper.noServerWcharCodesetCmp(); } OSFCodeSetRegistry.Entry wcharSet = OSFCodeSetRegistry.lookupEntry(codesets.getWCharCodeSet()); if (wcharSet == null) throw wrapper.unknownCodeset(wcharSet); // For GIOP 1.2 and UTF-16, use big endian if there is no byte order marker. (See issue 3405b) // // For GIOP 1.1 and UTF-16, use the byte order the stream if there isn't (and there shouldn't be) a byte order // marker. // // GIOP 1.0 doesn't have wchars. If we're talking to a legacy ORB, we do what our old ORBs did. if (wcharSet == OSFCodeSetRegistry.UTF_16) { if (getGIOPVersion().equals(GIOPVersion.V1_2)) return CodeSetConversion.impl().getBTCConverter(wcharSet, false); } return CodeSetConversion.impl().getBTCConverter(wcharSet, isLittleEndian()); }
throw wrapper.unknownCodeset(wcharSet);
throw wrapper.unknownCodeset(wcharSet);