public class OMSEventSourceImpl extends java.lang.Object implements OMSEventSource
Constructor and Description |
---|
OMSEventSourceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addOMSEventListener(OMSEventListener l) |
static OMSEventSourceImpl |
getSingleton()
Returns the global event source.
|
void |
removeAllListeners() |
void |
removeOMSEventListener(OMSEventListener l) |
void |
send(int type,
java.lang.String name,
java.lang.Object value) |
void |
send(int type,
java.lang.String name,
java.lang.Object[] value) |
void |
send(OMSAction action) |
void |
send(OMSEvent event) |
java.lang.String |
toString() |
public void removeAllListeners()
public static OMSEventSourceImpl getSingleton()
public void send(int type, java.lang.String name, java.lang.Object[] value)
public void send(int type, java.lang.String name, java.lang.Object value)
public void addOMSEventListener(OMSEventListener l)
public void removeOMSEventListener(OMSEventListener l)
public void send(OMSEvent event) throws java.lang.Exception
send
in interface OMSEventSource
java.lang.Exception
public void send(OMSAction action) throws java.lang.Exception
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object