Lines Matching refs:networkId
532 * <li>networkId</li>
556 * The {@code networkId} field of the supplied configuration object
572 config.networkId = -1;
582 * are non-<code>null</code>. The {@code networkId} field
584 * @return Returns the {@code networkId} of the supplied
587 * Returns {@code -1} on failure, including when the {@code networkId}
592 if (config == null || config.networkId < 0) {
1410 * Connect to a network with the given networkId.
1415 * @param networkId the network id identifiying the network in the
1422 public void connect(int networkId, ActionListener listener) {
1423 if (networkId < 0) throw new IllegalArgumentException("Network id cannot be negative");
1425 mAsyncChannel.sendMessage(CONNECT_NETWORK, networkId, putListener(listener));