|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mq.server.JMSServerInterceptorSupport (src)
org.jboss.mq.server.ClientMonitorInterceptor
A pass through Interceptor, which keeps track of when a client was last active. If a client is inactive for too long, then it is disconnected from the server.
Field Summary | |
protected static Logger (src) |
log
|
Fields inherited from class org.jboss.mq.server.JMSServerInterceptorSupport (src) |
nextInterceptor |
Constructor Summary | |
ClientMonitorInterceptor()
|
Method Summary | |
void |
acknowledge(ConnectionToken (src) dc,
AcknowledgementRequest (src) item)
#Description of the Method |
void |
addMessage(ConnectionToken (src) dc,
SpyMessage (src) message)
Add the message to the destination. |
SpyMessage (src) [] |
browse(ConnectionToken (src) dc,
Destination (src) dest,
java.lang.String selector)
#Description of the Method |
void |
connectionClosing(ConnectionToken (src) dc)
#Description of the Method |
Queue (src) |
createQueue(ConnectionToken (src) dc,
java.lang.String dest)
#Description of the Method |
Topic (src) |
createTopic(ConnectionToken (src) dc,
java.lang.String dest)
#Description of the Method |
void |
deleteTemporaryDestination(ConnectionToken (src) dc,
SpyDestination (src) dest)
#Description of the Method |
void |
destroySubscription(ConnectionToken (src) dc,
DurableSubscriptionID (src) id)
#Description of the Method |
void |
disconnectInactiveClients(long disconnectTime)
|
org.jboss.mq.server.ClientMonitorInterceptor.ClientStats |
getClientStats(ConnectionToken (src) dc)
|
Subscription (src) |
getSubscription(ConnectionToken (src) dc,
int subscriberId)
Get the subscription that match the id. |
TemporaryQueue (src) |
getTemporaryQueue(ConnectionToken (src) dc)
Gets the TemporaryQueue attribute of the ServerIL object |
TemporaryTopic (src) |
getTemporaryTopic(ConnectionToken (src) dc)
Gets the TemporaryTopic attribute of the ServerIL object |
void |
ping(ConnectionToken (src) dc,
long clientTime)
#Description of the Method |
SpyMessage (src) |
receive(ConnectionToken (src) dc,
int subscriberId,
long wait)
#Description of the Method |
void |
setEnabled(ConnectionToken (src) dc,
boolean enabled)
Sets the Enabled attribute of the ServerIL object |
void |
subscribe(ConnectionToken (src) dc,
Subscription (src) s)
|
void |
transact(ConnectionToken (src) dc,
TransactionRequest (src) t)
#Description of the Method |
void |
unsubscribe(ConnectionToken (src) dc,
int subscriptionId)
#Description of the Method |
Methods inherited from class org.jboss.mq.server.JMSServerInterceptorSupport (src) |
authenticate, checkID, checkUser, getDurableTopic, getID, getNext, getThreadGroup, setNext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static Logger (src) log
Constructor Detail |
public ClientMonitorInterceptor()
Method Detail |
public void disconnectInactiveClients(long disconnectTime)
public org.jboss.mq.server.ClientMonitorInterceptor.ClientStats getClientStats(ConnectionToken (src) dc) throws JMSException (src)
JMSException (src)
public TemporaryTopic (src) getTemporaryTopic(ConnectionToken (src) dc) throws JMSException (src)
JMSServerInterceptorSupport (src)
getTemporaryTopic
in interface JMSServerInterceptor (src)
getTemporaryTopic
in class JMSServerInterceptorSupport (src)
dc
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic TemporaryQueue (src) getTemporaryQueue(ConnectionToken (src) dc) throws JMSException (src)
getTemporaryQueue
in interface JMSServerInterceptor (src)
getTemporaryQueue
in class JMSServerInterceptorSupport (src)
dc
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic void connectionClosing(ConnectionToken (src) dc) throws JMSException (src)
connectionClosing
in interface JMSServerInterceptor (src)
connectionClosing
in class JMSServerInterceptorSupport (src)
dc
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic void addMessage(ConnectionToken (src) dc, SpyMessage (src) message) throws JMSException (src)
addMessage
in interface JMSServerInterceptor (src)
addMessage
in class JMSServerInterceptorSupport (src)
dc
- The feature to be added to the Message attributemessage
- The feature to be added to the Message attribute
JMSException (src)
- Description of Exceptionpublic Queue (src) createQueue(ConnectionToken (src) dc, java.lang.String dest) throws JMSException (src)
createQueue
in interface JMSServerInterceptor (src)
createQueue
in class JMSServerInterceptorSupport (src)
dc
- Description of Parameterdest
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic Topic (src) createTopic(ConnectionToken (src) dc, java.lang.String dest) throws JMSException (src)
createTopic
in interface JMSServerInterceptor (src)
createTopic
in class JMSServerInterceptorSupport (src)
dc
- Description of Parameterdest
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic void deleteTemporaryDestination(ConnectionToken (src) dc, SpyDestination (src) dest) throws JMSException (src)
deleteTemporaryDestination
in interface JMSServerInterceptor (src)
deleteTemporaryDestination
in class JMSServerInterceptorSupport (src)
dc
- Description of Parameterdest
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic void transact(ConnectionToken (src) dc, TransactionRequest (src) t) throws JMSException (src)
transact
in interface JMSServerInterceptor (src)
transact
in class JMSServerInterceptorSupport (src)
dc
- Description of Parametert
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic void acknowledge(ConnectionToken (src) dc, AcknowledgementRequest (src) item) throws JMSException (src)
acknowledge
in interface JMSServerInterceptor (src)
acknowledge
in class JMSServerInterceptorSupport (src)
dc
- Description of Parameteritem
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic SpyMessage (src) [] browse(ConnectionToken (src) dc, Destination (src) dest, java.lang.String selector) throws JMSException (src)
browse
in interface JMSServerInterceptor (src)
browse
in class JMSServerInterceptorSupport (src)
dc
- Description of Parameterdest
- Description of Parameterselector
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic SpyMessage (src) receive(ConnectionToken (src) dc, int subscriberId, long wait) throws JMSException (src)
receive
in interface JMSServerInterceptor (src)
receive
in class JMSServerInterceptorSupport (src)
dc
- Description of ParametersubscriberId
- Description of Parameterwait
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic void setEnabled(ConnectionToken (src) dc, boolean enabled) throws JMSException (src)
setEnabled
in interface JMSServerInterceptor (src)
setEnabled
in class JMSServerInterceptorSupport (src)
dc
- The new Enabled valueenabled
- The new Enabled value
JMSException (src)
- Description of Exceptionpublic void unsubscribe(ConnectionToken (src) dc, int subscriptionId) throws JMSException (src)
unsubscribe
in interface JMSServerInterceptor (src)
unsubscribe
in class JMSServerInterceptorSupport (src)
dc
- Description of ParametersubscriptionId
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic void destroySubscription(ConnectionToken (src) dc, DurableSubscriptionID (src) id) throws JMSException (src)
destroySubscription
in interface JMSServerInterceptor (src)
destroySubscription
in class JMSServerInterceptorSupport (src)
id
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic void subscribe(ConnectionToken (src) dc, Subscription (src) s) throws JMSException (src)
subscribe
in interface JMSServerInterceptor (src)
subscribe
in class JMSServerInterceptorSupport (src)
dc
- org.jboss.mq.ConnectionTokens
- org.jboss.mq.Subscription
JMSException (src)
- The exception description.public void ping(ConnectionToken (src) dc, long clientTime) throws JMSException (src)
ping
in interface JMSServerInterceptor (src)
ping
in class JMSServerInterceptorSupport (src)
dc
- Description of ParameterclientTime
- Description of Parameter
JMSException (src)
- Description of Exceptionpublic Subscription (src) getSubscription(ConnectionToken (src) dc, int subscriberId) throws JMSException (src)
JMSServerInterceptor (src)
getSubscription
in interface JMSServerInterceptor (src)
getSubscription
in class JMSServerInterceptorSupport (src)
JMSException (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |