BEA Systems, Inc.

BEA WebLogic SIP Server 3.1 API Reference


com.bea.wcp.sip.management.runtime
Interface SipServerRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.management.runtime.RuntimeMBean, weblogic.management.WebLogicMBean

public interface SipServerRuntimeMBean
extends weblogic.management.runtime.RuntimeMBean

SIP ServerRuntime MBean

Copyright © 2006 BEA Systems, Inc. All Rights Reserved.

Method Summary
 void activateBackup(byte site)
          Activates the backup records for the specified site.
 void deleteBackup(byte site)
          Deletes the backup records for the specified site.
 long getActiveServerAppSessionCount()
          Deprecated.  
 long getActiveServerSipSessionCount()
          Deprecated.  
 long getClusterId()
          Returns hash value of the cluster this server belongs to.
 java.lang.String getClusterIdHexString()
          Same as getClusterId but returns a string
 long getDestroyedServerAppSessionCount()
          Return the destroyed application session count
 long getDestroyedServerSipSessionCount()
          Return the destroyed SIP session count
 long getMessagesProcessed()
          Returns the total number of messages that have been processed since the server was started.
 long getMessagesReceived()
          Returns the total number of messages received since the server was started.
 long getMessagesRejected()
          Returns the total number of messages rejected since the server was started.
 long getServerAppSessionCount()
          Return the total application session count
 long getServerSipSessionCount()
          Return the total SIP session count
 SipServletSnmpTrapRuntimeMBean getSipServletSnmpTrapRuntime()
           
 long getStartTime()
          Returns the absolute time when the SIP server was started.
 void sipSessionCreated()
           
 
Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, preDeregister, removePropertyChangeListener
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

activateBackup

public void activateBackup(byte site)
Activates the backup records for the specified site. This will transfer ownership of all the records received from the specified backed up site and enable their timers.

Parameters:
site -

deleteBackup

public void deleteBackup(byte site)
Deletes the backup records for the specified site. This will remove all the records received from the specified backed up site

Parameters:
site -

getActiveServerAppSessionCount

public long getActiveServerAppSessionCount()
Deprecated.  

Return the active application session count

Returns:
active application session count

getActiveServerSipSessionCount

public long getActiveServerSipSessionCount()
Deprecated.  

Return the active SIP session count

Returns:
active SIP session count

getClusterId

public long getClusterId()
Returns hash value of the cluster this server belongs to. This value is encoded in system headers, and it allows WLSS engine that receives SIP message to determine if it is capable of processing this SIP message or if it should forward it onto another cluster using the "sideways" mechanism. See SidewaysTransport for more information.


getClusterIdHexString

public java.lang.String getClusterIdHexString()
Same as getClusterId but returns a string

Returns:
string value of the cluster ID

getDestroyedServerAppSessionCount

public long getDestroyedServerAppSessionCount()
Return the destroyed application session count

Returns:
destroyed application session count

getDestroyedServerSipSessionCount

public long getDestroyedServerSipSessionCount()
Return the destroyed SIP session count

Returns:
destroyed SIP session count

getMessagesProcessed

public long getMessagesProcessed()
Returns the total number of messages that have been processed since the server was started. The following can be used to obtain the current number of messages waiting to be processed:

public long getMessagesPending(SipPerformanceRuntimeMBean perf) { return perf.getMessagesReceived() - perf.getMessagesRejected() - perf.getMessagesProcessed(); }


getMessagesReceived

public long getMessagesReceived()
Returns the total number of messages received since the server was started.


getMessagesRejected

public long getMessagesRejected()
Returns the total number of messages rejected since the server was started. This includes messages that were rejected because they were invalid or because the server was too busy to handle them.


getServerAppSessionCount

public long getServerAppSessionCount()
Return the total application session count

Returns:
application session count

getServerSipSessionCount

public long getServerSipSessionCount()
Return the total SIP session count

Returns:
SIP session count

getSipServletSnmpTrapRuntime

public SipServletSnmpTrapRuntimeMBean getSipServletSnmpTrapRuntime()

getStartTime

public long getStartTime()
Returns the absolute time when the SIP server was started.


sipSessionCreated

public void sipSessionCreated()

Documentation is available at
http://e-docs.bea.com/wlcp/wlss31/
Copyright 2007 BEA Systems Inc.