Lines Matching defs:networkId
727 * <li>networkId</li>
794 * The {@code networkId} field of the supplied configuration object
810 config.networkId = -1;
820 * are non-<code>null</code>. The {@code networkId} field
822 * @return Returns the {@code networkId} of the supplied
825 * Returns {@code -1} on failure, including when the {@code networkId}
830 if (config == null || config.networkId < 0) {
2057 * Connect to a network with the given networkId.
2062 * @param networkId the network id identifiying the network in the
2069 public void connect(int networkId, ActionListener listener) {
2070 if (networkId < 0) throw new IllegalArgumentException("Network id cannot be negative");
2071 getChannel().sendMessage(CONNECT_NETWORK, networkId, putListener(listener));