Exemple #1
0
 public static Ice.DispatchStatus Join___(Lobby obj__, IceInternal.Incoming inS__, Ice.Current current__)
 {
     checkMode__(Ice.OperationMode.Normal, current__.mode);
     IceInternal.BasicStream is__ = inS__.istr();
     is__.startReadEncaps();
     string nick;
     nick = is__.readString();
     string topic;
     topic = is__.readString();
     Ice.Identity listenerIdentity;
     listenerIdentity = null;
     if(listenerIdentity == null)
     {
         listenerIdentity = new Ice.Identity();
     }
     listenerIdentity.read__(is__);
     is__.endReadEncaps();
     IceInternal.BasicStream os__ = inS__.ostr();
     try
     {
         Chat.RoomAccess ret__ = obj__.Join(nick, topic, listenerIdentity, current__);
         if(ret__ == null)
         {
             Chat.RoomAccess tmp__ = new Chat.RoomAccess();
             tmp__.write__(os__);
         }
         else
         {
             ret__.write__(os__);
         }
         return Ice.DispatchStatus.DispatchOK;
     }
     catch(Chat.IChatException ex__)
     {
         os__.writeUserException(ex__);
         return Ice.DispatchStatus.DispatchUserException;
     }
 }