home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / pc / java / in4wjcxu / src / como / irc / comoircfrontend.java < prev    next >
Encoding:
Java Source  |  1996-08-14  |  708 b   |  37 lines

  1. package como.irc;
  2.  
  3. import como.sys.*;
  4. import java.applet.*;
  5.  
  6. public interface ComoIRCFrontEnd {
  7.  
  8.     /**
  9.     * Called by server when the connection is lost
  10.     */
  11.     public void noConnection() ;
  12.     /** 
  13.     * Called by server upon receipt of an invitation
  14.     */
  15.     public void handleInvitation(User u,IrcChan chan) ;
  16.     /**
  17.     * Info messages from the server
  18.     */
  19.     public void log(String s) ;
  20.     /**
  21.     * new user joined the como system
  22.     */
  23.     public void addUser(String nick) ;
  24.     /**
  25.     * some user left a whole channel (i.e. he quitted the commlet)
  26.     */
  27.     public void leftChannel(IrcChan chan) ;
  28.     /**
  29.     * some user left como
  30.     */
  31.     public void userLeft(String nick) ;
  32.     /**
  33.     * return the Applet of the FrontEnd.
  34.     */
  35.     public Applet getApplet();
  36. }
  37.