Package CustomEvents

Examples of CustomEvents.DisconnectClientEvent


  private void clientConnected(Client client) {
    _events[Globals.CONNECT].fireEvent(new ConnectClientEvent(this, client));
  }
 
  private void clientDisconnected(Client client) {
    _events[Globals.DISCONNECT].fireEvent(new DisconnectClientEvent(this, client));
  }
View Full Code Here


    addWindowListener(new WindowAdapter() {
      @Override
      public void windowClosing(WindowEvent e) {
        // send disconnect event to server
        Client clt = new Client(null, _nickname, _myClientID);
        _eventDisconnect.fireEvent(new DisconnectClientEvent(this, clt));
      }
    });
    init_look();
    getContentPane().setBackground(SystemColor.activeCaption);
    getContentPane().setLayout(new BorderLayout(0, 0));
View Full Code Here

TOP

Related Classes of CustomEvents.DisconnectClientEvent

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.