All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.meitca.concordia.event.SecureEventManagerConnection


java.lang.Object

   |

   +----COM.meitca.concordia.event.EventManagerConnection

           |

           +----COM.meitca.concordia.event.SecureEventManagerConnection


public class SecureEventManagerConnection
extends EventManagerConnection

Constructor Index

 o SecureEventManagerConnection(SecureUserIdentification)
Constructs a SecureEventManagerConnection.

Method Index

 o postEvent(EventType)
Post an event to the Event Manager.
 o postEvent(MobileClassWrapper)
Post an event to the Event Manager.
 o registerAll(EventPost)
Register interest in receiving all events posted to this EventManager.
 o registerEvents(Class[], EventPost)
Register interest in receiving specified events.
 o registerEvents(MobileClassWrapper[], EventPost)
Register interest in receiving specified events.

Constructors

 o SecureEventManagerConnection

 public SecureEventManagerConnection(SecureUserIdentification user)

Constructs a SecureEventManagerConnection.

Parameters:
user - A SecureUserIdentification representing the caller.

Methods

 o registerEvents

 public void registerEvents(Class eventClass[],

                            EventPost eventQueue) throws RemoteException, IOException, ServerUnavailableException, SecurityException

Register interest in receiving specified events.

Parameters:
eventClass - An array of Class objects describing the events that an object is interested in receiving.

eventQueue - The receiver's EventPost implementation (i.e., either an EventNotifyImpl or an EventQueueImpl object or stub).
Throws: RemoteException
If the Event Manager cannot be contacted.
Throws: ServerUnavailableException
If the Event Manager is down or suspended.
Throws: SecurityException
If the Event.Register permission is denied for the default user.
Overrides:
registerEvents in class EventManagerConnection
 o registerEvents

 public void registerEvents(MobileClassWrapper eventWrappers[],

                            EventPost eventQueue) throws RemoteException, IOException, ServerUnavailableException, SecurityException

Register interest in receiving specified events.

Parameters:
eventWrappers - An array of wrapped Class objects describing the events that an object is interested in receiving.

eventQueue - The receiver's EventPost implementation (i.e., either an EventNotifyImpl or an EventQueueImpl object or stub).
Throws: RemoteException
If the Event Manager cannot be contacted.
Throws: ServerUnavailableException
If the Event Manager is down or suspended.
Throws: SecurityException
If the Event.Register permission is denied for the default user.
Overrides:
registerEvents in class EventManagerConnection
 o registerAll

 public void registerAll(EventPost eventQueue) throws RemoteException, IOException, ServerUnavailableException, SecurityException

Register interest in receiving all events posted to this EventManager.

Parameters:
eventQueue - The receiver's EventPost implementation (i.e., either an EventNotifyImpl or an EventQueueImpl object or stub).
Throws: RemoteException
If an error occurrs setting up network connections.
Throws: ServerUnavailableException
If the Event Manager is down or suspended.
Throws: SecurityException
If the Event.Register permission or the Event.RegisterAll permission is denied for the default user.
Overrides:
registerAll in class EventManagerConnection
 o postEvent

 public void postEvent(EventType event) throws RemoteException, IOException, EventException, ServerUnavailableException, SecurityException

Post an event to the Event Manager.

Parameters:
event - The event to post.
Throws: RemoteException
If an error occurrs setting up network connections.
Throws: EventException
If an error occurs posting the event.
Throws: ServerUnavailableException
If the Event Manager is down or suspended.
Throws: SecurityException
If the Event.Post resource permission is denied for the default user.
Overrides:
postEvent in class EventManagerConnection
 o postEvent

 public void postEvent(MobileClassWrapper eventWrapper) throws RemoteException, IOException, EventException, ServerUnavailableException, SecurityException

Post an event to the Event Manager.

Parameters:
eventWrapper - A wrapper for the event to post.
Throws: RemoteException
If an error occurrs setting up network connections.
Throws: EventException
If an error occurs posting the event.
Throws: ServerUnavailableException
If the Event Manager is down or suspended.
Throws: SecurityException
If the Event.Post resource permission is denied for the default user.
Overrides:
postEvent in class EventManagerConnection


All Packages  Class Hierarchy  This Package  Previous  Next  Index