|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jniwrapper.win32.dde.DdeEventAdapter
com.jniwrapper.win32.dde.DdeClientEventAdapter
An abstract adapter class for processing DDE client events.
| Constructor Summary | |
DdeClientEventAdapter()
|
|
| Method Summary | |
void |
asyncActionComplete(DdeItem item,
byte[] data,
long transactionID)
Occurs when an asynchronous transaction is processed by the service. |
void |
disconnect(boolean sameApplication)
Occurs on disconnect. |
void |
error(int errorCode)
Fires when a critical error occurs. |
DdeResponse |
itemChanged(DdeItem item,
byte[] data)
Occurs when data of the item is changed. |
void |
serviceRegister(java.lang.String service,
java.lang.String instanceName)
Occurs when a service is registered. |
void |
serviceUnregister(java.lang.String service,
java.lang.String instanceName)
Occurs when a service is unregistered. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.jniwrapper.win32.dde.DdeClientEventHandler |
disconnect, serviceRegister, serviceUnregister |
| Constructor Detail |
public DdeClientEventAdapter()
| Method Detail |
public void error(int errorCode)
DdeClientEventHandler
error in interface DdeClientEventHandlererrorCode - is the error code.
public DdeResponse itemChanged(DdeItem item,
byte[] data)
DdeClientEventHandler
itemChanged in interface DdeClientEventHandleritem - specifies the item name and data format.data - if on starting an advise loop the sendData argument was set to true,
then the data contains a new value of the item data; otherwise, this argument is
null.
DdeItem,
DdeResponse
public void asyncActionComplete(DdeItem item,
byte[] data,
long transactionID)
DdeClientEventHandler
asyncActionComplete in interface DdeClientEventHandleritem - specifies the item name and data format.data - if the transaction manipulates data, then the data contains the value of
the item. If the transaction failed, the data is null.transactionID - is an asyncronous transaction identifier.public void disconnect(boolean sameApplication)
com.jniwrapper.win32.dde.DdeEventHandler
disconnect in interface com.jniwrapper.win32.dde.DdeEventHandlersameApplication - specifies if the client and the service are the same application.
public void serviceRegister(java.lang.String service,
java.lang.String instanceName)
com.jniwrapper.win32.dde.DdeEventHandler
serviceRegister in interface com.jniwrapper.win32.dde.DdeEventHandlerservice - is the basic name of the service.instanceName - is an instance-specific service name.
public void serviceUnregister(java.lang.String service,
java.lang.String instanceName)
com.jniwrapper.win32.dde.DdeEventHandler
serviceUnregister in interface com.jniwrapper.win32.dde.DdeEventHandlerservice - is the basic name of the service.instanceName - is an instance-specific service name.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||