lexx.server
Interface ServerBase

All Known Implementing Classes:
Server, ServerHttp

public interface ServerBase

Interface that all servers must follow

Copyright (c) 2002-2003

Since:
25/02/2003
Version:
1.0
Author:
Mohammed Imran

Method Summary
 int getClientNum()
          Tells you the number of clients that are on-line
 javax.swing.JTextArea getLog()
          If log is enables then the text being recieved/sent by server it stored
 void setLog(javax.swing.JTextArea newLog)
          Server logs all messages that are recieved/sent by server
 

Method Detail

getLog

public javax.swing.JTextArea getLog()
If log is enables then the text being recieved/sent by server it stored

Returns:
returns log

setLog

public void setLog(javax.swing.JTextArea newLog)
Server logs all messages that are recieved/sent by server

Parameters:
newLog - sets the new log

getClientNum

public int getClientNum()
Tells you the number of clients that are on-line

Returns:
Tells you the number of clients that are on-line