public class CoreStatusResponse extends ManagerResponse
CoreStatusAction
,
Serialized FormConstructor and Description |
---|
CoreStatusResponse() |
Modifier and Type | Method and Description |
---|---|
Integer |
getCoreCurrentCalls()
Returns the number of currently active channels on the server.
|
String |
getCoreReloadDate()
Returns the date the server (core module) was last reloaded.
|
Date |
getCoreReloadDateTimeAsDate()
Returns the and time the server (core module) was last reloaded.
|
Date |
getCoreReloadDateTimeAsDate(TimeZone tz)
Returns the date the server (core module) was last reloaded.
|
String |
getCoreReloadTime()
Returns the time the server (core module) was last reloaded.
|
String |
getCoreStartupDate()
Returns the date the server was started.
|
Date |
getCoreStartupDateTimeAsDate()
Returns the date and time the server was started.
|
Date |
getCoreStartupDateTimeAsDate(TimeZone tz)
Returns the date and time the server was started.
|
String |
getCoreStartupTime()
Returns the time the server was started.
|
void |
setCoreCurrentCalls(Integer coreCurrentCalls) |
void |
setCoreReloadDate(String CoreReloadDate) |
void |
setCoreReloadTime(String s) |
void |
setCoreStartupDate(String CoreStartupDate) |
void |
setCoreStartupTime(String s) |
getActionId, getAttribute, getAttributes, getDateReceived, getEventList, getEvents, getMessage, getOutput, getResponse, getServer, getUniqueId, setActionId, setAttributes, setDateReceived, setEventList, setEvents, setMessage, setOutput, setResponse, setServer, setUniqueId, stringToInteger, stringToLong, toString
public String getCoreReloadTime()
public void setCoreReloadTime(String s)
public String getCoreReloadDate()
Available since Asterisk 1.6.3
public void setCoreReloadDate(String CoreReloadDate)
public Date getCoreReloadDateTimeAsDate()
If either the date or time property is null
(e.g. on Asterisk prior to 1.6.3) this method
returns null
.
null
if not available.getCoreReloadDate()
,
getCoreReloadTime()
,
getCoreReloadDateTimeAsDate(java.util.TimeZone)
public Date getCoreReloadDateTimeAsDate(TimeZone tz)
If either the date or time property is null
(e.g. on Asterisk prior to 1.6.3) this method
returns null
.
tz
- the time zone of the Asterisk server, null
to use the default time zone.null
if not available.getCoreReloadDate()
,
getCoreReloadTime()
public String getCoreStartupDate()
Available since Asterisk 1.6.3
public void setCoreStartupDate(String CoreStartupDate)
public String getCoreStartupTime()
public void setCoreStartupTime(String s)
public Date getCoreStartupDateTimeAsDate()
If either the date or time property is null
(e.g. on Asterisk prior to 1.6.3) this method
returns null
.
null
if not available.getCoreStartupDate()
,
getCoreStartupTime()
,
getCoreStartupDateTimeAsDate(java.util.TimeZone)
public Date getCoreStartupDateTimeAsDate(TimeZone tz)
If either the date or time property is null
(e.g. on Asterisk prior to 1.6.3) this method
returns null
.
tz
- the time zone of the Asterisk server, null
to use the default time zone.null
if not available.getCoreStartupDate()
,
getCoreStartupTime()
public Integer getCoreCurrentCalls()
public void setCoreCurrentCalls(Integer coreCurrentCalls)
Copyright © 2004–2020. All rights reserved.