flex.management.runtime.messaging.endpoints.rtmp
Interface RTMPServerControlMBean

All Superinterfaces:
BaseControlMBean

public interface RTMPServerControlMBean
extends BaseControlMBean

Defines the runtime monitoring and management interface for managed RTMP servers.


Method Summary
 Integer getConnectionCount()
          Returns the total number of current client connections to the server.
 String[] getConnectionIds()
          Returns the client ids for all currently connected clients.
 Date getStartTimestamp()
          Returns the start timestamp for the RTMPServer.
 Boolean isRunning()
          Returns true if the RTMPServer is running.
 void removeAllConnections()
          Removes all client connections.
 void removeConnection(String connectionId)
          Removes the specified client connection.
 
Methods inherited from interface flex.management.BaseControlMBean
getId, getParent, getType
 

Method Detail

isRunning

public Boolean isRunning()
                  throws IOException
Returns true if the RTMPServer is running.

Returns:
true if the RTMPServer is running.
Throws:
IOException

getStartTimestamp

public Date getStartTimestamp()
                       throws IOException
Returns the start timestamp for the RTMPServer.

Returns:
The start timestamp for the RTMPServer.
Throws:
IOException

getConnectionCount

public Integer getConnectionCount()
                           throws IOException
Returns the total number of current client connections to the server.

Returns:
The total number of current client connections to the server.
Throws:
IOException

getConnectionIds

public String[] getConnectionIds()
                          throws IOException
Returns the client ids for all currently connected clients.

Returns:
The client ids for all currently connected clients.
Throws:
IOException

removeConnection

public void removeConnection(String connectionId)
                      throws IOException
Removes the specified client connection.

Parameters:
connectionId - The id for the connection to remove.
Throws:
IOException

removeAllConnections

public void removeAllConnections()
                          throws IOException
Removes all client connections.

Throws:
IOException


Copyright © 2006 Adobe Systems Inc. All Rights Reserved. (Updated August 2, 2006)

Take a survey