morpionReseau/go01/socketPlateauEventArgs.cs

51 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace go01
{
public class socketPlateauServJoinArgs : EventArgs
{
public socketPlateauBase.ConfigGo_S ConfigGo;
public socketPlateauServJoinArgs(socketPlateauBase.ConfigGo_S cfg)
{
this.ConfigGo = cfg;
}
}
public class socketPlateauServACKArgs : EventArgs
{
public bool ack;
public socketPlateauServACKArgs(bool ack)
{
this.ack = ack;
}
}
public class socketPlateauServDemandeCo : EventArgs
{
public socketPlateauServDemandeCo()
{
}
}
public class socketPlateauServReception : EventArgs
{
public socketPlateauBase.CommandeSocket_S cmd;
public socketPlateauServReception(socketPlateauBase.CommandeSocket_S cmd)
{
this.cmd = cmd;
}
}
public class socketPlateauConnected : EventArgs
{
public socketPlateauBase.ConfigGo_S ConfigGo;
public socketPlateauConnected(socketPlateauBase.ConfigGo_S cfg)
{
this.ConfigGo = cfg;
}
}
}