|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.commons.protocol.DataObject
com.genesyslab.platform.commons.protocol.Message
com.genesyslab.platform.voice.protocol.tserver.requests.dn.RequestRegisterAddress
public abstract class RequestRegisterAddress
Registers for a DN. Your application must register the DN before sending the request
RequestRegisterAddress requestRegisterAddress = RequestRegisterAddress.create(thisDn, RegisterMode.ModeShare, ControlMode.RegisterDefault, AddressType.DN);
EventRegistered
.
Field Summary | |
---|---|
static int |
ID
|
static java.lang.String |
NAME
|
Method Summary | |
---|---|
static RequestRegisterAddress |
create()
Creates instance of RequestRegisterAddress with no parameters set. |
static RequestRegisterAddress |
create(java.lang.String thisDN,
RegisterMode registerMode,
ControlMode controlMode,
AddressType addressType)
Creates instance of RequestRegisterAddress with required parameters set. |
static RequestRegisterAddress |
create(java.lang.String thisDN,
RegisterMode registerMode,
ControlMode controlMode,
AddressType addressType,
KeyValueCollection extensions)
Creates instance of RequestRegisterAddress with all parameters set. |
abstract AddressType |
getAddressType()
Address type specifying the telephony object in question. |
abstract ControlMode |
getControlMode()
Control mode specifying whether the fact of registration is to be relayed to the switch. |
abstract KeyValueCollection |
getExtensions()
An additional data structure intended to take account of switch-specific features that cannot be described by other parameters or in the original structure of user data. |
abstract java.lang.Integer |
getReferenceID()
Reference ID of the related request. |
abstract RegisterMode |
getRegisterMode()
Registration mode specifying whether information about this telephony object will be available to other applications. |
abstract java.lang.String |
getThisDN()
The Directory Number (which your application registered) involved in this request or event. |
abstract void |
setAddressType(AddressType addressType)
Address type specifying the telephony object in question. |
abstract void |
setControlMode(ControlMode controlMode)
Control mode specifying whether the fact of registration is to be relayed to the switch. |
abstract void |
setExtensions(KeyValueCollection extensions)
An additional data structure intended to take account of switch-specific features that cannot be described by other parameters or in the original structure of user data. |
abstract void |
setReferenceID(int referenceID)
Reference ID of the related request. |
abstract void |
setReferenceID(java.lang.Integer referenceID)
Reference ID of the related request. |
abstract void |
setRegisterMode(RegisterMode registerMode)
Registration mode specifying whether information about this telephony object will be available to other applications. |
abstract void |
setThisDN(java.lang.String thisDN)
The Directory Number (which your application registered) involved in this request or event. |
Methods inherited from class com.genesyslab.platform.commons.protocol.Message |
---|
cloneMessage, getEndpoint, getMessageAttribute, getProtocolDescription, getProtocolId, messageId, messageName, setProtocolDescription |
Methods inherited from class com.genesyslab.platform.commons.protocol.DataObject |
---|
equals, hashCode, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int ID
public static final java.lang.String NAME
Method Detail |
---|
public static RequestRegisterAddress create()
public static RequestRegisterAddress create(java.lang.String thisDN, RegisterMode registerMode, ControlMode controlMode, AddressType addressType, KeyValueCollection extensions)
thisDN
- DN of the controlling agent or Route Point.registerMode
- Registration mode specifying whether information about this telephony object will be available to other applications.controlMode
- Control mode specifying whether the fact of registration is to be relayed to the switch.addressType
- Address type specifying the telephony object in question.extensions
- An additional data structure intended to take account of switch-specific features that cannot be described by other parameters or in the original structure of user data.
public static RequestRegisterAddress create(java.lang.String thisDN, RegisterMode registerMode, ControlMode controlMode, AddressType addressType)
thisDN
- DN of the controlling agent or Route Point.registerMode
- Registration mode specifying whether information about this telephony object will be available to other applications.controlMode
- Control mode specifying whether the fact of registration is to be relayed to the switch.addressType
- Address type specifying the telephony object in question.
public abstract java.lang.Integer getReferenceID()
public abstract void setReferenceID(java.lang.Integer referenceID)
public abstract void setReferenceID(int referenceID)
public abstract java.lang.String getThisDN()
public abstract void setThisDN(java.lang.String thisDN)
public abstract RegisterMode getRegisterMode()
public abstract void setRegisterMode(RegisterMode registerMode)
registerMode
- new value of the propertypublic abstract ControlMode getControlMode()
public abstract void setControlMode(ControlMode controlMode)
controlMode
- new value of the propertypublic abstract AddressType getAddressType()
public abstract void setAddressType(AddressType addressType)
addressType
- new value of the propertypublic abstract KeyValueCollection getExtensions()
public abstract void setExtensions(KeyValueCollection extensions)
extensions
- new value of the property
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |