Oracle Application Server Wireless Java API Reference
B14043-01


oracle.edge.dispatcher
Interface Dispatcher

All Known Implementing Classes:
AbstractDispatcher

public interface Dispatcher

Dispatcher interface. Must be implmented by all dispatcher running inside of the EdgeServer.
<p/>


Method Summary
 void dispatchEvent(Event CurEvent)
          Dispatch event to edge client side.
 long errorCount()
          A running count of the number of errors seen by this dispatcher since it got started during the lifetime of this EdgeServer
 long msgsSent()
          A running count of all the msgs sent thus far by this dispatcher during the lifetime of this EdgeServer.

 

Method Detail

dispatchEvent

public void dispatchEvent(Event CurEvent)
                   throws EventDispatchException
Dispatch event to edge client side. The Edge server will call this function to dispatch an event. <p/>
Parameters:
CurEvent - The event to be dispatched
Throws:
EventDispatchException - If there is some sort of dispatching exception related to the network or transport

errorCount

public long errorCount()
A running count of the number of errors seen by this dispatcher since it got started during the lifetime of this EdgeServer
Returns:
the number of errors seen so far

msgsSent

public long msgsSent()
A running count of all the msgs sent thus far by this dispatcher during the lifetime of this EdgeServer. Used for statistical purposes.
Returns:
the number of msgs sent

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.