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.IDdeConnectionListpublic DdemlUtil.IDdeConnection queryNextServer(DdemlUtil.IDdeConnection prevConnection)
DdemlUtil.IDdeConnectionListqueryNextServer in interface DdemlUtil.IDdeConnectionListprevConnection - 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.IDdeConnectionListIf the function fails a DdeException is raised with the appropriate errorCode:
Note: This wraps DdeDisconnectList to align with Closeable wording.
close in interface DdemlUtil.IDdeConnectionListclose in interface java.io.Closeableclose in interface java.lang.AutoCloseable