public interface IJCListener
JCListener class represents a generic implementation of event
raiser class to CLR
| Modifier and Type | Method and Description |
|---|---|
Object[] |
extraData()
Invoked from the CLR to get extra information.
|
int |
extraDataLength()
Invoked from the CLR to know how many
Object contains extra information. |
Object |
getEventData()
Invoked from the CLR counterpart to get the event
Object. |
Object |
getReturnData()
Invoked from the JVM to get the event return
Object. |
boolean |
hasExtraData()
Invoked from the CLR to know if the event has extra information.
|
void |
raiseEvent(String eventName)
Invoked when an action occurs.
|
void |
raiseEvent(String eventName,
Object e)
Invoked when an action occurs.
|
void |
raiseEvent(String eventName,
Object e,
Object... objects)
Invoked when an action occurs.
|
void |
release()
Invoked when the CLR counterpart request to release the instance.
|
void |
setReturnData(Object retData)
Invoked from the CLR counterpart to set the event return
Object. |
void release()
void raiseEvent(String eventName)
eventName - The name of the remote method to be invokedvoid raiseEvent(String eventName, Object e)
eventName - The name of the remote method to be invokede - The event raisedvoid raiseEvent(String eventName, Object e, Object... objects)
eventName - The name of the remote method to be invokede - The event raisedobjects - Extra objects associated to the eventObject getEventData()
Object.Object associated to the event raisedboolean hasExtraData()
int extraDataLength()
Object contains extra information.Object[] extraData()
Object getReturnData()
Object.Object returned from the event raised