Package java.rmi.server

Examples of java.rmi.server.RemoteRef.writeExternal()


     
  } else {
      throw new InvalidObjectException("unexpected activator type");
  }
  out.writeUTF(ref.getRefClass(out));
  ref.writeExternal(out);
    }

    /**
     * <code>readObject</code> for custom serialization.
     *
 
View Full Code Here


            String refType = ref.getRefClass(out);
            // rmi.log.08=refType={0}
            rlog.log(RMILog.VERBOSE, Messages.getString("rmi.log.08", refType)); //$NON-NLS-1$
            out.writeUTF(refType);
            ref.writeExternal(out);
            // rmi.log.04=ActivationID.writeObject COMPLETED.
            rlog.log(RMILog.VERBOSE, Messages.getString("rmi.log.04")); //$NON-NLS-1$

        } catch (Throwable t) {
            // rmi.0A=Unable to serialize ActivationID: {0}
View Full Code Here

        } else {
            throw new InvalidObjectException("unexpected activator type");
        }
        out.writeUTF(ref.getRefClass(out));
        ref.writeExternal(out);
    }

    /**
     * <code>readObject</code> for custom serialization.
     *
 
View Full Code Here

        } else {
            throw new InvalidObjectException("unexpected activator type");
        }
        out.writeUTF(ref.getRefClass(out));
        ref.writeExternal(out);
    }

    /**
     * <code>readObject</code> for custom serialization.
     *
 
View Full Code Here

        out.writeObject(id);
        if (localRef == null) {
            out.writeUTF("");
        } else {
            out.writeUTF(localRef.getRefClass(out));
            localRef.writeExternal(out);
        }
    }

    /**
     * Read in external representation for remote ref.
View Full Code Here

            rlog.log(RMILog.VERBOSE, Messages.getString("rmi.log.09", ref)); //$NON-NLS-1$
            String refType = ref.getRefClass(out);
            // rmi.log.08=refType={0}
            rlog.log(RMILog.VERBOSE, Messages.getString("rmi.log.08", refType)); //$NON-NLS-1$
            out.writeUTF(refType);
            ref.writeExternal(out);
            // rmi.log.04=ActivationID.writeObject COMPLETED.
            rlog.log(RMILog.VERBOSE, Messages.getString("rmi.log.04")); //$NON-NLS-1$
        } catch (Throwable t) {
            // rmi.0A=Unable to serialize ActivationID: {0}
            throw new IOException(Messages.getString("rmi.0A", t.getMessage()));//$NON-NLS-1$
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.