IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

Connections Property

A collection of currently connected clients.

Syntax

public ConnectionList getConnections();

Remarks

This property contains a collection of currently connected clients. All of the connections may be managed using this property. Each connection is described by the different fields of the Connection type.

This collection is a hashtable type of collection, in which the Connection ID string is used as the key to the desired connection. You may acquire the key for a given connection through the Connected event.

Example (Broadcasting Data)

Iterator keys = ipdaemon1.getConnections().keySet().iterator();
while (keys.hasNext()) {
  Connection c = (Connection) ipdaemon1.getConnections().get(keys.next());
  c.setDataToSend("Broadcast Data");
}

This property is read-only.

Default Value

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0