public void serverReady() throws RemoteException {
   ready = true;
   for (LoginWorldInterface wli : WorldRegistryImpl.getInstance().getLoginServer()) {
     try {
       wli.channelOnline(cb.getChannelId(), cb.getIP());
     } catch (RemoteException e) {
       WorldRegistryImpl.getInstance().deregisterLoginServer(wli);
     }
   }
   log.info("Channel {} is online.", cb.getChannelId());
 }
 public String getIP(int channel) throws RemoteException {
   ChannelWorldInterface cwi = WorldRegistryImpl.getInstance().getChannel(channel);
   if (cwi == null) {
     return "0.0.0.0:0";
   } else {
     try {
       return cwi.getIP();
     } catch (RemoteException e) {
       WorldRegistryImpl.getInstance().deregisterChannelServer(channel);
       return "0.0.0.0:0";
     }
   }
 }