|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Declares available methods of a client for administration.
SNMP or telnet tools can access only the here declared properties.
| Method Summary | |
java.lang.String |
getCreationDate()
Get date when this subject was created. |
int |
getMaxSessions()
Returns the maximum allowed login sessions for this subject. |
int |
getNumSessions()
Returns how many login sessions this subject currently has. |
long |
getNumUpdate()
How many messages where sent to all of this clients login sessions. |
I_AdminSession |
getSessionByPubSessionId(long pubSessionId)
Navigate to a session instance. |
java.lang.String |
getSessionList()
Get a list of all session names for this subject. |
java.lang.String[] |
getSessions()
Get a list of all session names for this subject. |
MsgUnit[] |
getSubjectQueueEntries(java.lang.String querySpec)
Query the history queue, can be peeking or consuming. |
long |
getSubjectQueueMaxMsgs()
Returns the maximum allowed PtP messages in this queue. |
long |
getSubjectQueueNumMsgs()
Returns how many PtP messages are currently in my subject queue. |
long |
getUptime()
Get elapsed seconds since this subject was created. |
java.lang.String |
killClient()
Destroy the client with all its sessions. |
java.lang.String[] |
peekSubjectMessages(int numOfEntries)
Peek point to point messages from subject queue, they are not removed |
java.lang.String[] |
peekSubjectMessagesToFile(int numOfEntries,
java.lang.String path)
Peek messages from PtP subject queue and dump them to a file, they are not removed. |
void |
setMaxSessions(int max)
Configure the maximum allowed login sessions for this subject. |
| Methods inherited from interface org.xmlBlaster.util.admin.I_AdminUsage |
getUsageUrl, setUsageUrl, usage |
| Method Detail |
public long getUptime()
public java.lang.String getCreationDate()
public long getNumUpdate()
public long getSubjectQueueNumMsgs()
public long getSubjectQueueMaxMsgs()
public int getNumSessions()
public int getMaxSessions()
public void setMaxSessions(int max)
max - The maximum number of sessions for this subjectpublic java.lang.String getSessionList()
public java.lang.String[] getSessions()
public I_AdminSession getSessionByPubSessionId(long pubSessionId)
pubSessionId - The public session ID of the session to lookup
public java.lang.String killClient()
throws XmlBlasterException
XmlBlasterException
public java.lang.String[] peekSubjectMessages(int numOfEntries)
throws XmlBlasterException
numOfEntries - The number of messages to peek, taken from the front
XmlBlasterException
public java.lang.String[] peekSubjectMessagesToFile(int numOfEntries,
java.lang.String path)
throws java.lang.Exception
numOfEntries - The number of messages to peek, taken from the frontpath - The path to dump the messages to, it is automatically created if missing.
java.lang.Exception
public MsgUnit[] getSubjectQueueEntries(java.lang.String querySpec)
throws XmlBlasterException
querySpec - Can be configured to be consuming
e.g. "maxEntries=3&maxSize=-1&consumable=true&waitingDelay=0"
XmlBlasterException
|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||