Package CustomEvents

Examples of CustomEvents.OpenMsgClientEvent


        // fire clients list event
        _eventNewClientsList.fireEvent(new NewClientsListEvent(this, clientsArray, _clientID));
      }
      else if (serverObj instanceof OpenMsg) {
        // fire open message event
        _eventNewClientsList.fireEvent(new OpenMsgClientEvent(this, (OpenMsg)serverObj));
      }
    }
   
   
   
View Full Code Here


  private void clientDisconnected(Client client) {
    _events[Globals.DISCONNECT].fireEvent(new DisconnectClientEvent(this, client));
  }
 
  private void clientSentOpenMsg(OpenMsg msg) {
    _events[Globals.OPEN_MSG].fireEvent(new OpenMsgClientEvent(this, msg));
  }
View Full Code Here

    txtEnter.setText("");
  }
 
  private void sendOpenMsgToServer(String text) {
    Client clt = new Client(null, _nickname, _myClientID);
    _eventSendOpenMsg.fireEvent(new OpenMsgClientEvent(this, new OpenMsg(clt, text)));     
  }
View Full Code Here

TOP

Related Classes of CustomEvents.OpenMsgClientEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.