/** * Adds the specified clients to this channel * * @param clients client list */ public void addContacts(final Collection<ClientInfo> clients) { for (ClientInfo client : clients) { addClient(client.getNickname(), new MSNChannelClientInfo(this, client)); } getParser().getCallbackManager().getCallbackType(ChannelNamesListener.class).call(this); }
/** * Removes the specified clients from this channel * * @param clients client list */ public void removeContacts(final Collection<ClientInfo> clients) { for (ClientInfo client : clients) { removeClient(client.getNickname()); } getParser().getCallbackManager().getCallbackType(ChannelNamesListener.class).call(this); }
/** {@inheritDoc} */ @Override public ChannelClientInfo getChannelClient(final ClientInfo client) { return getClient(client.getNickname()); }