Joram 5.3.1

org.objectweb.joram.client.jms.local
Interface LocalRequestChannelMBean

All Known Implementing Classes:
LocalRequestChannel

public interface LocalRequestChannelMBean

Adds monitoring for a local connection.


Method Summary
 void close()
          Closes the connection and unregisters the MBean.
 java.util.Date getCreationDate()
          Gets connection creation date.
 long getReceivedCount()
          Gets the number of replies received on the connection.
 long getSentCount()
          Gets the number of requests sent on the connection.
 java.lang.String getUserName()
          Gets connected user's name.
 

Method Detail

getUserName

java.lang.String getUserName()
Gets connected user's name.

Returns:
the name of the connected user.

getCreationDate

java.util.Date getCreationDate()
Gets connection creation date.

Returns:
the date of creation of the connection.

close

void close()
Closes the connection and unregisters the MBean.


getSentCount

long getSentCount()
Gets the number of requests sent on the connection.

Returns:
the number of requests sent on the connection.

getReceivedCount

long getReceivedCount()
Gets the number of replies received on the connection.

Returns:
the number of replies received on the connection.

Joram 5.3.1

Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved