コード例 #1
0
ファイル: MOMActivityType.java プロジェクト: jeffyu/rtgov
  /** {@inheritDoc} */
  public void writeExternal(ObjectOutput out) throws IOException {
    super.writeExternal(out);

    out.writeInt(VERSION);

    out.writeObject(_destination);
  }
コード例 #2
0
ファイル: RPCActivityType.java プロジェクト: knrc/rtgov
  /** {@inheritDoc} */
  public void writeExternal(ObjectOutput out) throws IOException {
    super.writeExternal(out);

    out.writeInt(VERSION);

    out.writeObject(_serviceType);
    out.writeObject(_interface);
    out.writeObject(_operation);
    out.writeObject(_fault);

    // Serialize version 2 additional elements
    out.writeBoolean(_internal);
  }