|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jniwrapper.win32.dde.DdeService
This class provides functionality for registering and handling a DDE service.
| Constructor Summary | |
DdeService(java.lang.String name)
Creates a DDE service with the specified name. |
|
| Method Summary | |
java.lang.String |
getName()
Returns the name of the service. |
boolean |
isRegistered()
Returns true if the service is already registered. |
void |
postAdvise(java.lang.String topic,
java.lang.String item)
Notifies clients that the value of item data has been changed. |
void |
register()
Registers the service. |
void |
removeEventHandler()
Removes the service events handler. |
void |
setEventHandler(DdeServiceEventHandler eventHandler)
Specifies the handler of service events. |
void |
unregister()
Unregisters the service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DdeService(java.lang.String name)
name - is the service name.| Method Detail |
public void register()
throws DdeException
DdeExceptionpublic boolean isRegistered()
true if the service is already registered.
true if the service is already registered.
public void unregister()
throws DdeException
DdeExceptionpublic void setEventHandler(DdeServiceEventHandler eventHandler)
eventHandler - DdeServiceEventHandlerpublic void removeEventHandler()
public java.lang.String getName()
public void postAdvise(java.lang.String topic,
java.lang.String item)
throws DdeException
topic - is the name of the topic.item - is the name of the item.
DdeException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||