public class RegistryEntryEvent extends ResponseEvent
It is implemented in channels/chan_sip.c
source
Constructor and Description |
---|
RegistryEntryEvent(Object source)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getHost()
Returns the IP address or hostname used for the registration.
|
Integer |
getPort()
Returns the port number used for the registration.
|
Integer |
getRefresh()
Returns the value of refresh.
|
Long |
getRegistrationTime()
Returns the epoch since the last registration.
|
String |
getState()
Returns the value of state.
|
String |
getUsername()
Returns the username used for the registration.
|
void |
setHost(String host)
Set the IP address or hostname used for the registration.
|
void |
setPort(Integer port)
Sets the port number used for the registration.
|
void |
setRefresh(Integer refresh)
Set the value of refresh.
|
void |
setRegistrationTime(String registrationTime)
Sets the epoch (unix Timestamp) of the last registration.
|
void |
setState(String state)
Set the value of state.
|
void |
setUsername(String username)
Sets the username used for the registration.
|
getActionId, getInternalActionId, setActionId, setInternalActionId
appendPropertyIfNotNull, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, setTimestamp, toString
getSource
public RegistryEntryEvent(Object source)
source
- public Long getRegistrationTime()
public void setRegistrationTime(String registrationTime)
registrationTime
- the epoch of the last registration.public Integer getPort()
public void setPort(Integer port)
port
- the port number.public String getUsername()
public void setUsername(String username)
username
- the username.public String getHost()
public void setHost(String host)
host
- IP address or hostname.public String getState()
public void setState(String state)
state
- new value of statepublic Integer getRefresh()
public void setRefresh(Integer refresh)
refresh
- new value of refreshCopyright © 2004–2016. All rights reserved.