Exemplo n.º 1
0
 public void encodeMembers(OutputStream memberStream) {
   CollectCodeType.encode(this.type, memberStream);
   ASNInteger.encode(this.digitsToBeCollected, memberStream);
   ASNInteger.encode(this.timeout, memberStream);
   CSTAConnectionID.encode(this.collectParty, memberStream);
   SpecificEvent.encode(this.specificEvent, memberStream);
 }
  public Collection<String> print() {
    Collection<String> lines = new ArrayList<String>();

    lines.add("LucentQueryTgConfEvent ::=");
    lines.add("{");

    String indent = "  ";

    lines.addAll(ASNInteger.print(this.idleTrunks, "idleTrunks", indent));
    lines.addAll(ASNInteger.print(this.usedTrunks, "usedTrunks", indent));

    lines.add("}");
    return lines;
  }
  public Collection<String> print() {
    Collection<String> lines = new ArrayList<String>();

    lines.add("LucentV6QueryAgentStateConfEvent ::=");
    lines.add("{");

    String indent = "  ";

    lines.addAll(LucentWorkMode.print(this.workMode, "workMode", indent));
    lines.addAll(LucentTalkState.print(this.talkState, "talkState", indent));
    lines.addAll(ASNInteger.print(this.reasonCode, "reasonCode", indent));
    lines.addAll(LucentWorkMode.print(this.pendingWorkMode, "pendingWorkMode", indent));
    lines.addAll(ASNInteger.print(this.pendingReasonCode, "pendingReasonCode", indent));

    lines.add("}");
    return lines;
  }
Exemplo n.º 4
0
  public static Collection<String> print(LucentUserCollectCode _this, String name, String _indent) {
    Collection<String> lines = new ArrayList<String>();

    if (_this == null) {
      lines.add(_indent + name + " <null>");
      return lines;
    }
    if (name != null) {
      lines.add(_indent + name);
    }
    lines.add(_indent + "{");

    String indent = _indent + "  ";

    lines.addAll(CollectCodeType.print(_this.type, "type", indent));
    lines.addAll(ASNInteger.print(_this.digitsToBeCollected, "digitsToBeCollected", indent));
    lines.addAll(ASNInteger.print(_this.timeout, "timeout", indent));
    lines.addAll(CSTAConnectionID.print(_this.collectParty, "collectParty", indent));
    lines.addAll(SpecificEvent.print(_this.specificEvent, "specificEvent", indent));

    lines.add(_indent + "}");
    return lines;
  }
 public void decodeMembers(InputStream memberStream) {
   this.idleTrunks = ASNInteger.decode(memberStream);
   this.usedTrunks = ASNInteger.decode(memberStream);
 }
 public void encodeMembers(OutputStream memberStream) {
   super.encodeMembers(memberStream);
   LucentWorkMode.encode(this.pendingWorkMode, memberStream);
   ASNInteger.encode(this.pendingReasonCode, memberStream);
 }
 public void decodeMembers(InputStream memberStream) {
   super.decodeMembers(memberStream);
   this.pendingWorkMode = LucentWorkMode.decode(memberStream);
   this.pendingReasonCode = ASNInteger.decode(memberStream);
 }