~pogs-troubleshooters/pogs/trunk

« back to all changes in this revision

Viewing changes to LibPOGSServer/Serverinterface.cs

  • Committer: Brashko
  • Author(s): Brashko
  • Date: 2008-12-28 17:13:38 UTC
  • Revision ID: james.brashko4ever@hotmail.com-20081228171338-ncllvt13gdtcvepm
 My first version of working server code. Observers can connect using both the JParanoia and POGS clients. Clients can be muted and kicked. 
This is only a rough implimentation, I expect that a lot of these things will change.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
using System;
 
2
using System.Collections.Generic;
 
3
using System.Text;
 
4
 
 
5
namespace POGS.Server
 
6
{
 
7
    public interface SI
 
8
    {
 
9
        void DataRecieved(string data);
 
10
        void NewClientJoined(string version, int clientnumber);
 
11
        void observerchat(string data);
 
12
        void ServerMessage(string data);
 
13
        void ClientLeft(int clientnumber, string version);
 
14
    }
 
15
}