|
4.1.0.610 20071213 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.ecma.csta.CastorObject
ch.ecma.csta.binding.HookswitchEvent
public class HookswitchEvent
Indicates that the switch has changed the device's hookswitch status. This event is not sent if your device explicitly goes onhook with a SetHookswitchStatus request. It only occurs when all other parties on the call drop or are dropped. The switch then automatically sets the device's hookswitch status to on hook.
This event may be generated in any one of the following ways:SetHookswitchStatus
request.
Constructor Summary | |
---|---|
HookswitchEvent()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
SubjectDeviceID |
getDevice()
Returns the value of field 'device'. |
CSTACommonArguments |
getExtensions()
Returns the value of field 'extensions'. |
java.lang.String |
getHookswitch()
Returns the value of field 'hookswitch'. |
java.lang.Boolean |
getHookswitchOnHook()
Returns the value of field 'hookswitchOnHook'. |
java.lang.String |
getMonitorCrossRefID()
Returns the value of field 'monitorCrossRefID'. |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
void |
setDevice(SubjectDeviceID device)
Sets the value of field 'device'. |
void |
setExtensions(CSTACommonArguments extensions)
Sets the value of field 'extensions'. |
void |
setHookswitch(java.lang.String hookswitch)
Sets the value of field 'hookswitch'. |
void |
setHookswitchOnHook(java.lang.Boolean hookswitchOnHook)
Sets the value of field 'hookswitchOnHook'. |
void |
setMonitorCrossRefID(java.lang.String monitorCrossRefID)
Sets the value of field 'monitorCrossRefID'. |
static HookswitchEvent |
unmarshalHookswitchEvent(java.io.Reader reader)
Method unmarshalHookswitchEvent |
void |
validate()
Method validate |
Methods inherited from class ch.ecma.csta.CastorObject |
---|
getOldSessionID, hashCode, setOldSessionID, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HookswitchEvent()
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class ch.ecma.csta.CastorObject
obj
-
public SubjectDeviceID getDevice()
public CSTACommonArguments getExtensions()
public java.lang.String getHookswitch()
public java.lang.Boolean getHookswitchOnHook()
public java.lang.String getMonitorCrossRefID()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void setDevice(SubjectDeviceID device)
device
- the value of field 'device'.public void setExtensions(CSTACommonArguments extensions)
extensions
- the value of field 'extensions'.public void setHookswitch(java.lang.String hookswitch)
hookswitch
- the value of field 'hookswitch'.public void setHookswitchOnHook(java.lang.Boolean hookswitchOnHook)
hookswitchOnHook
- the value of field 'hookswitchOnHook'public void setMonitorCrossRefID(java.lang.String monitorCrossRefID)
monitorCrossRefID
- the value of field
'monitorCrossRefID'.public static HookswitchEvent unmarshalHookswitchEvent(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
4.1.0.610 20071213 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |