|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.asteriskjava.manager.response.ManagerResponse
org.asteriskjava.manager.response.CoreStatusResponse
public class CoreStatusResponse
Corresponds to a CoreStatusAction and contains the current status summary of the Asterisk server.
CoreStatusAction
,
Serialized FormConstructor Summary | |
---|---|
CoreStatusResponse()
|
Method Summary | |
---|---|
java.lang.Integer |
getCoreCurrentCalls()
Returns the number of currently active channels on the server. |
java.lang.String |
getCoreReloadDate()
Returns the date the server (core module) was last reloaded. |
java.util.Date |
getCoreReloadDateTimeAsDate()
Returns the and time the server (core module) was last reloaded. |
java.util.Date |
getCoreReloadDateTimeAsDate(java.util.TimeZone tz)
Returns the date the server (core module) was last reloaded. |
java.lang.String |
getCoreReloadTime()
Returns the time the server (core module) was last reloaded. |
java.lang.String |
getCoreStartupDate()
Returns the date the server was started. |
java.util.Date |
getCoreStartupDateTimeAsDate()
Returns the date and time the server was started. |
java.util.Date |
getCoreStartupDateTimeAsDate(java.util.TimeZone tz)
Returns the date and time the server was started. |
java.lang.String |
getCoreStartupTime()
Returns the time the server was started. |
void |
setCoreCurrentCalls(java.lang.Integer coreCurrentCalls)
|
void |
setCoreReloadDate(java.lang.String CoreReloadDate)
|
void |
setCoreReloadTime(java.lang.String s)
|
void |
setCoreStartupDate(java.lang.String CoreStartupDate)
|
void |
setCoreStartupTime(java.lang.String s)
|
Methods inherited from class org.asteriskjava.manager.response.ManagerResponse |
---|
getActionId, getAttribute, getAttributes, getDateReceived, getEventList, getMessage, getResponse, getServer, getUniqueId, setActionId, setAttributes, setDateReceived, setEventList, setMessage, setResponse, setServer, setUniqueId, stringToInteger, stringToLong, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CoreStatusResponse()
Method Detail |
---|
public java.lang.String getCoreReloadTime()
public void setCoreReloadTime(java.lang.String s)
public java.lang.String getCoreReloadDate()
Available since Asterisk 1.6.3
public void setCoreReloadDate(java.lang.String CoreReloadDate)
public java.util.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 java.util.Date getCoreReloadDateTimeAsDate(java.util.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 java.lang.String getCoreStartupDate()
Available since Asterisk 1.6.3
public void setCoreStartupDate(java.lang.String CoreStartupDate)
public java.lang.String getCoreStartupTime()
public void setCoreStartupTime(java.lang.String s)
public java.util.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 java.util.Date getCoreStartupDateTimeAsDate(java.util.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 java.lang.Integer getCoreCurrentCalls()
public void setCoreCurrentCalls(java.lang.Integer coreCurrentCalls)
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |