Exemple #1
0
  /** Standard method for inserting a Port to an Any. */
  public static void insert(com.ericsson.otp.ic.Any _any, Port _this) throws java.lang.Exception {

    com.ericsson.otp.erlang.OtpOutputStream _os = new com.ericsson.otp.erlang.OtpOutputStream();

    _any.type(type());
    marshal(_os, _this);
    _any.insert_Streamable(_os);
  }
Exemple #2
0
  /**
   * Standard method for extracting a Port from an Any.
   *
   * @return Port, the value found in an Any contained stream.
   */
  public static Port extract(com.ericsson.otp.ic.Any _any) throws java.lang.Exception {

    return unmarshal(_any.extract_Streamable());
  }