public Object read(InputStream in) { return in.read_value(String.class); } }
public Object read(InputStream in) { return new Integer(in.read_long()); } }
public Object read(InputStream in) { return in.read_abstract_interface(); } }
/** * Reads an exception from a CDR input stream. */ public Exception read(InputStream in) { if (readMethod != null) { try { return (Exception) readMethod.invoke(null, new Object[]{in}); } catch (IllegalAccessException e) { throw IIOPLogger.ROOT_LOGGER.unexpectedException(e); } catch (java.lang.reflect.InvocationTargetException e) { throw IIOPLogger.ROOT_LOGGER.errorUnmarshaling(IDLEntity.class, e.getTargetException()); } } else { in.read_string(); // read and discard the repository id return (Exception) in.read_value(clz); } }
byte byteValue = orbStream.read_octet(); bridge.putByte(o, field.getFieldID(), byteValue); boolean booleanValue = orbStream.read_boolean(); bridge.putBoolean(o, field.getFieldID(), booleanValue); char charValue = orbStream.read_wchar(); bridge.putChar(o, field.getFieldID(), charValue); short shortValue = orbStream.read_short(); bridge.putShort(o, field.getFieldID(), shortValue); int intValue = orbStream.read_long(); bridge.putInt(o, field.getFieldID(), intValue); long longValue = orbStream.read_longlong(); bridge.putLong(o, field.getFieldID(), longValue); float floatValue = orbStream.read_float(); bridge.putFloat(o, field.getFieldID(), floatValue); double doubleValue = orbStream.read_double(); bridge.putDouble(o, field.getFieldID(), doubleValue);
/** This constructor reads the template ONLY from the stream. */ public POAObjectKeyTemplate( ORB orb, int magic, int scid, InputStream is ) { super( orb, magic, scid, is.read_long(), is.read_string(), new ObjectAdapterIdArray( POANameHelper.read( is ) ) ) ; setORBVersion( is ) ; }
public Object read(InputStream in) { return (org.omg.CORBA.Object) in.read_Object(); } }
public UnknownServiceContext( int id, InputStream is ) { this.id = id ; int len = is.read_long(); data = new byte[len]; is.read_octet_array(data,0,len); }
public Object read(InputStream in) { return new Float(in.read_float()); } }
public Object read(InputStream in) { return new Boolean(in.read_boolean()); } }
public Object read(InputStream in) { return new Long(in.read_longlong()); } }
public Object read(InputStream in) { return new Double(in.read_double()); } }
public IIOPAddressImpl(InputStream is) { host = is.read_string(); short thePort = is.read_short(); port = shortToInt(thePort); }
public Object read(InputStream in) { return new Byte(in.read_octet()); } }
public java.io.Serializable read_value( org.omg.CORBA_2_3.portable.InputStream is) { return is.read_string(); } }
public IIOPProfileTemplateImpl(InputStream istr) { byte major = istr.read_octet(); byte minor = istr.read_octet(); giopVersion = GIOPVersion.getInstance(major, minor); primary = new IIOPAddressImpl(istr); orb = (ORB) (istr.orb()); // Handle any tagged components (if applicable) if (minor > 0) EncapsulationUtility.readIdentifiableSequence(this, orb.getTaggedComponentFactoryFinder(), istr); makeImmutable(); }
public Exception read(InputStream is) { is.read_string(); // read and ignore! return (Exception) is.read_value(getExceptionClass()); } }
/** * This constructor reads the template ONLY from the stream. */ public POAObjectKeyTemplate(ORB orb, int magic, int scid, InputStream is) { super(orb, magic, scid, is.read_long(), is.read_string(), new ObjectAdapterIdArray(POANameHelper.read(is))); setORBVersion(is); }
public Object read(InputStream in) { // The narrow() call downloads the stub from the codebase embedded // within the IOR of the unmarshalled object. return PortableRemoteObject.narrow(in.read_Object(), clz); } }
public float readFloat() throws java.io.IOException { return in.read_float(); }