public static class DdemlUtil.DdeConnectionList extends java.lang.Object implements DdemlUtil.IDdeConnectionList
Constructor and Description |
---|
DdeConnectionList(DdemlUtil.IDdeClient client,
Ddeml.HCONVLIST convList) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Destroys the specified conversation list and terminates all
conversations associated with the list.
|
Ddeml.HCONVLIST |
getHandle() |
DdemlUtil.IDdeConnection |
queryNextServer(DdemlUtil.IDdeConnection prevConnection)
Retrieves the next conversation handle in the specified conversation
list.
|
public DdeConnectionList(DdemlUtil.IDdeClient client, Ddeml.HCONVLIST convList)
public Ddeml.HCONVLIST getHandle()
getHandle
in interface DdemlUtil.IDdeConnectionList
public DdemlUtil.IDdeConnection queryNextServer(DdemlUtil.IDdeConnection prevConnection)
DdemlUtil.IDdeConnectionList
queryNextServer
in interface DdemlUtil.IDdeConnectionList
prevConnection
- A handle to the conversation handle previously
returned by this function. If this parameter is NULL, the function
returns the first conversation handle in the list.public void close()
DdemlUtil.IDdeConnectionList
If the function fails a DdeException is raised with the appropriate errorCode:
Note: This wraps DdeDisconnectList to align with Closeable wording.
close
in interface DdemlUtil.IDdeConnectionList
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable