org.openorb.notify
Interface ConsumerAdminManagement

All Known Implementing Classes:
ConsumerAdminImpl

public interface ConsumerAdminManagement

Author:
Olivier Modica

Method Summary
 boolean canConnectConsumer()
          Method invoked to check if the MaxConsumers admin property applies
 java.lang.String getId()
          Get the ID ( ChannelID + ConsumerAdminID ) of the admin
 java.lang.Object getNotifyProperty(java.lang.String key)
          Method invoked to get the value of a property defined in the notification module
 org.omg.CORBA.ORB getORB()
          Get the ORB
 org.omg.PortableServer.POA getPOA()
          Get the POA
 boolean isProxyMaxPerformance()
          The methods returns true if the supplier proxy threads should be configured as MaxPerformance
 boolean isQueueMaxPerformance()
          The methods returns true if the event queue should be configured as MaxPerformance
 void proxySupplierRecovered(int id, org.omg.PortableServer.Servant proxySupplier)
          This method is invoked when a ProxySupplier was recovered
 void reportConsumerConnection()
          A proxy supplier has been connected
 void reportEventDelivery(int proxyId, int eventPid)
          An event has been delivered or discarded
 void reportPullConsumerDisconnection(byte[] proxyPid)
          A pull proxy supplier has been destroyed
 void reportPushConsumerDisconnection(byte[] proxyPid)
          A push proxy supplier has been destroyed
 

Method Detail

getId

java.lang.String getId()
Get the ID ( ChannelID + ConsumerAdminID ) of the admin


proxySupplierRecovered

void proxySupplierRecovered(int id,
                            org.omg.PortableServer.Servant proxySupplier)
This method is invoked when a ProxySupplier was recovered


getORB

org.omg.CORBA.ORB getORB()
Get the ORB


getPOA

org.omg.PortableServer.POA getPOA()
Get the POA


reportConsumerConnection

void reportConsumerConnection()
A proxy supplier has been connected


canConnectConsumer

boolean canConnectConsumer()
Method invoked to check if the MaxConsumers admin property applies


reportPullConsumerDisconnection

void reportPullConsumerDisconnection(byte[] proxyPid)
A pull proxy supplier has been destroyed


reportPushConsumerDisconnection

void reportPushConsumerDisconnection(byte[] proxyPid)
A push proxy supplier has been destroyed


reportEventDelivery

void reportEventDelivery(int proxyId,
                         int eventPid)
An event has been delivered or discarded


isQueueMaxPerformance

boolean isQueueMaxPerformance()
The methods returns true if the event queue should be configured as MaxPerformance


isProxyMaxPerformance

boolean isProxyMaxPerformance()
The methods returns true if the supplier proxy threads should be configured as MaxPerformance


getNotifyProperty

java.lang.Object getNotifyProperty(java.lang.String key)
Method invoked to get the value of a property defined in the notification module