Beispiel #1
0
 public synchronized void delete() {
   if (swigCPtr != 0) {
     if (swigCMemOwn) {
       swigCMemOwn = false;
       OPALJNI.delete_OpalMessage_m_param(swigCPtr);
     }
     swigCPtr = 0;
   }
 }
Beispiel #2
0
 public synchronized void delete() {
   if (swigCPtr != 0) {
     if (swigCMemOwn) {
       swigCMemOwn = false;
       OPALJNI.delete_OpalParamProtocol(swigCPtr);
     }
     swigCPtr = 0;
   }
 }
Beispiel #3
0
 public OpalParamProtocol() {
   this(OPALJNI.new_OpalParamProtocol(), true);
 }
Beispiel #4
0
 public void setM_defaultOptions(String value) {
   OPALJNI.OpalParamProtocol_m_defaultOptions_set(swigCPtr, this, value);
 }
Beispiel #5
0
 public void setM_userInputMode(OpalUserInputModes value) {
   OPALJNI.OpalParamProtocol_m_userInputMode_set(swigCPtr, this, value.swigValue());
 }
Beispiel #6
0
 public void setM_interfaceAddresses(String value) {
   OPALJNI.OpalParamProtocol_m_interfaceAddresses_set(swigCPtr, this, value);
 }
Beispiel #7
0
 public void setM_product(OpalProductDescription value) {
   OPALJNI.OpalParamProtocol_m_product_set(
       swigCPtr, this, OpalProductDescription.getCPtr(value), value);
 }
Beispiel #8
0
 public void setM_displayName(String value) {
   OPALJNI.OpalParamProtocol_m_displayName_set(swigCPtr, this, value);
 }
Beispiel #9
0
 public void setM_registrationInfo(OpalParamRegistration value) {
   OPALJNI.OpalMessage_m_param_m_registrationInfo_set(
       swigCPtr, this, OpalParamRegistration.getCPtr(value), value);
 }
Beispiel #10
0
 public OpalParamProtocol getM_protocol() {
   long cPtr = OPALJNI.OpalMessage_m_param_m_protocol_get(swigCPtr, this);
   return (cPtr == 0) ? null : new OpalParamProtocol(cPtr, false);
 }
Beispiel #11
0
 public void setM_protocol(OpalParamProtocol value) {
   OPALJNI.OpalMessage_m_param_m_protocol_set(
       swigCPtr, this, OpalParamProtocol.getCPtr(value), value);
 }
Beispiel #12
0
 public OpalParamGeneral getM_general() {
   long cPtr = OPALJNI.OpalMessage_m_param_m_general_get(swigCPtr, this);
   return (cPtr == 0) ? null : new OpalParamGeneral(cPtr, false);
 }
Beispiel #13
0
 public void setM_general(OpalParamGeneral value) {
   OPALJNI.OpalMessage_m_param_m_general_set(
       swigCPtr, this, OpalParamGeneral.getCPtr(value), value);
 }
Beispiel #14
0
 public String getM_commandError() {
   return OPALJNI.OpalMessage_m_param_m_commandError_get(swigCPtr, this);
 }
Beispiel #15
0
 public void setM_commandError(String value) {
   OPALJNI.OpalMessage_m_param_m_commandError_set(swigCPtr, this, value);
 }
Beispiel #16
0
 public void setM_prefix(String value) {
   OPALJNI.OpalParamProtocol_m_prefix_set(swigCPtr, this, value);
 }
Beispiel #17
0
 public String getM_prefix() {
   return OPALJNI.OpalParamProtocol_m_prefix_get(swigCPtr, this);
 }
Beispiel #18
0
 public void setM_registrationStatus(OpalStatusRegistration value) {
   OPALJNI.OpalMessage_m_param_m_registrationStatus_set(
       swigCPtr, this, OpalStatusRegistration.getCPtr(value), value);
 }
Beispiel #19
0
 public String getM_displayName() {
   return OPALJNI.OpalParamProtocol_m_displayName_get(swigCPtr, this);
 }
Beispiel #20
0
 public OpalStatusRegistration getM_registrationStatus() {
   long cPtr = OPALJNI.OpalMessage_m_param_m_registrationStatus_get(swigCPtr, this);
   return (cPtr == 0) ? null : new OpalStatusRegistration(cPtr, false);
 }
Beispiel #21
0
 public OpalProductDescription getM_product() {
   long cPtr = OPALJNI.OpalParamProtocol_m_product_get(swigCPtr, this);
   return (cPtr == 0) ? null : new OpalProductDescription(cPtr, false);
 }
Beispiel #22
0
 public void setM_callSetUp(OpalParamSetUpCall value) {
   OPALJNI.OpalMessage_m_param_m_callSetUp_set(
       swigCPtr, this, OpalParamSetUpCall.getCPtr(value), value);
 }
Beispiel #23
0
 public String getM_interfaceAddresses() {
   return OPALJNI.OpalParamProtocol_m_interfaceAddresses_get(swigCPtr, this);
 }
Beispiel #24
0
 public OpalParamSetUpCall getM_callSetUp() {
   long cPtr = OPALJNI.OpalMessage_m_param_m_callSetUp_get(swigCPtr, this);
   return (cPtr == 0) ? null : new OpalParamSetUpCall(cPtr, false);
 }
Beispiel #25
0
 public OpalUserInputModes getM_userInputMode() {
   return OpalUserInputModes.swigToEnum(
       OPALJNI.OpalParamProtocol_m_userInputMode_get(swigCPtr, this));
 }
Beispiel #26
0
 public void setM_callToken(String value) {
   OPALJNI.OpalMessage_m_param_m_callToken_set(swigCPtr, this, value);
 }
Beispiel #27
0
 public String getM_defaultOptions() {
   return OPALJNI.OpalParamProtocol_m_defaultOptions_get(swigCPtr, this);
 }
Beispiel #28
0
 public String getM_callToken() {
   return OPALJNI.OpalMessage_m_param_m_callToken_get(swigCPtr, this);
 }
Beispiel #29
0
public final class OpalLineAppearanceStates {
  public static final OpalLineAppearanceStates OpalLineTerminated =
      new OpalLineAppearanceStates("OpalLineTerminated");
  public static final OpalLineAppearanceStates OpalLineTrying =
      new OpalLineAppearanceStates("OpalLineTrying");
  public static final OpalLineAppearanceStates OpalLineProceeding =
      new OpalLineAppearanceStates("OpalLineProceeding");
  public static final OpalLineAppearanceStates OpalLineRinging =
      new OpalLineAppearanceStates("OpalLineRinging");
  public static final OpalLineAppearanceStates OpalLineConnected =
      new OpalLineAppearanceStates("OpalLineConnected");
  public static final OpalLineAppearanceStates OpalLineSubcribed =
      new OpalLineAppearanceStates("OpalLineSubcribed");
  public static final OpalLineAppearanceStates OpalLineUnsubcribed =
      new OpalLineAppearanceStates("OpalLineUnsubcribed");
  public static final OpalLineAppearanceStates OpalLineIdle =
      new OpalLineAppearanceStates("OpalLineIdle", OPALJNI.OpalLineIdle_get());

  public final int swigValue() {
    return swigValue;
  }

  public String toString() {
    return swigName;
  }

  public static OpalLineAppearanceStates swigToEnum(int swigValue) {
    if (swigValue < swigValues.length
        && swigValue >= 0
        && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue];
    for (int i = 0; i < swigValues.length; i++)
      if (swigValues[i].swigValue == swigValue) return swigValues[i];
    throw new IllegalArgumentException(
        "No enum " + OpalLineAppearanceStates.class + " with value " + swigValue);
  }

  private OpalLineAppearanceStates(String swigName) {
    this.swigName = swigName;
    this.swigValue = swigNext++;
  }

  private OpalLineAppearanceStates(String swigName, int swigValue) {
    this.swigName = swigName;
    this.swigValue = swigValue;
    swigNext = swigValue + 1;
  }

  private OpalLineAppearanceStates(String swigName, OpalLineAppearanceStates swigEnum) {
    this.swigName = swigName;
    this.swigValue = swigEnum.swigValue;
    swigNext = this.swigValue + 1;
  }

  private static OpalLineAppearanceStates[] swigValues = {
    OpalLineTerminated,
    OpalLineTrying,
    OpalLineProceeding,
    OpalLineRinging,
    OpalLineConnected,
    OpalLineSubcribed,
    OpalLineUnsubcribed,
    OpalLineIdle
  };
  private static int swigNext = 0;
  private final int swigValue;
  private final String swigName;
}
Beispiel #30
0
 public OpalMessage_m_param() {
   this(OPALJNI.new_OpalMessage_m_param(), true);
 }