code
string
repo_name
string
path
string
language
string
license
string
size
int64
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Main { /// <summary> /// Règles communes /// </summary> public static class REGLES { public static string S_LECTURE = "S_LECTURE.txt"; public static string S_ECRITURE = "S_E...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Apres/Source/Core/REGLES.cs
C#
asf20
1,295
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Main.PrimitivesCommunication; using Newtonsoft.Json; namespace Main.Packets { /// <summary> /// Énumération des types de paquet /// </summary> public enum PacketTypes { ConnectionReque...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Apres/Source/Core/Packets/PacketTypes.cs
C#
asf20
5,724
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace Main.Packets { /// <summary> /// Paquet de libération /// </summary> public class FreeConnectionPacket : Packet { private byte adresseSource; private...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Apres/Source/Core/Packets/FreeConnectionPacket.cs
C#
asf20
3,357
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; using System.IO; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Main.PrimitivesCommunication; namespace Main.Packets { /// <summary> /// Classe abstraite qui définie la struct...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Apres/Source/Core/Packets/Packet.cs
C#
asf20
4,491
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace Main.Packets { /// <summary> /// Paquet de connexion (Demande ou confirmation) /// </summary> public class ConnectionPacket : Packet { private byte adresseSou...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Apres/Source/Core/Packets/ConnectionPacket.cs
C#
asf20
2,934
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; using Core.Connexions; namespace Main.Packets { /// <summary> /// Paquet de données /// </summary> public class DataPacket : Packet { private string data; pri...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Apres/Source/Core/Packets/DataPacket.cs
C#
asf20
2,846
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace Main.Packets { /// <summary> /// Paquet d'aquittement négatif ou positif. /// </summary> public class AcknowledgementPacket : Packet { private Acknowledgement...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Apres/Source/Core/Packets/AcknowledgementPacket.cs
C#
asf20
2,004
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace Reseau { public class MyStreamReader : TextReader { } }
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Apres/Source/Reseau/MyStreamReader.cs
C#
asf20
207
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly:...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Apres/Source/Reseau/Properties/AssemblyInfo.cs
C#
asf20
1,545
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO.Pipes; using Main.PrimitivesCommunication; using System.IO; using System.Threading; using Main.Packets; using Core.Connexions; namespace Main.Reseau { /// <summary> /// Défini les opérations de ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Apres/Source/Reseau/CoucheReseau.cs
C#
asf20
16,746
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using Main.Reseau; using System.Threading; using Main; using System.IO; namespace Reseau { static class Program { static Thread threadEcrireVersTransport; static Thread threadLireDeTran...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Apres/Source/Reseau/Program.cs
C#
asf20
2,242
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Transport { public partial class Main : Form { public Main() { Initialize...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Transport/Main.cs
C#
asf20
469
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using Main.PrimitivesCommunication; using System.IO.Pipes; using System.Threading; namespace Main.Transport { class CoucheTransport { public void EcrireVersReseau() { ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Transport/CoucheTransport.cs
C#
asf20
5,282
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Timers; namespace Main.Transport { public enum EtatsConnexion { ConnexionEtablie, EnAttente } public class Connexion { private static List<Connexion> listeCon...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Transport/ConnexionTransport.cs
C#
asf20
2,365
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly:...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Transport/Properties/AssemblyInfo.cs
C#
asf20
1,551
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using Transport.Properties; using System.IO; using System.IO.Pipes; using Main.Transport; using System.Threading; namespace Transport { static class Program { static Main consoleMain; ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Transport/Program.cs
C#
asf20
746
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Liaison { public partial class Main : Form { public Main() { InitializeCo...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Liaison/Main.cs
C#
asf20
355
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly:...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Liaison/Properties/AssemblyInfo.cs
C#
asf20
1,547
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace Liaison { static class Program { /// <summary> /// Point d'entrée principal de l'application. /// </summary> [STAThread] static void Main() { ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Liaison/Program.cs
C#
asf20
500
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Serialization; using System.IO; namespace Core.PrimitivesCommunication { public class PrimitiveNConnect : Primitive { #region Attributs d'instance de classe #endre...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/PrimitivesCommunication/PrimitiveNConnect.cs
C#
asf20
515
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Xml.Serialization; using Newtonsoft.Json; using System.IO.Pipes; using Main.Packets; using System.Threading; namespace Main.PrimitivesCommunication { public class Primitive { ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/PrimitivesCommunication/Primitive.cs
C#
asf20
7,021
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Main.PrimitivesCommunication { public enum Primitives { NConnectRequest = 11, NConnectIndication, NConnectResponse, NConnectConfirmation = 15, NDataRequest, ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/PrimitivesCommunication/Primitives.cs
C#
asf20
420
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.PrimitivesCommunication { public class PrimitiveNData : Primitive { #region Attributs d'instance de classe #endregion #region Propriétés ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/PrimitivesCommunication/PrimitiveNData.cs
C#
asf20
467
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.PrimitivesCommunication { public class PrimitiveNDisconnect : Primitive { #region Attributs d'instance de classe #endregion #region Propriétés ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/PrimitivesCommunication/PrimitiveNDisconnect.cs
C#
asf20
462
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly:...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/Properties/AssemblyInfo.cs
C#
asf20
1,541
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Main { public static class REGLES { public static string S_LECTURE = "S_LECTURE.txt"; public static string S_ECRITURE = "S_ECRITURE.txt"; public static string L_LECTURE = "L_LECTU...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/REGLES.cs
C#
asf20
715
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Main.Packets { public enum Raisons { DistantRefuse = 1, FournisseurRefuse, None } }
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/Packets/Raisons.cs
C#
asf20
234
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Main.PrimitivesCommunication; using Newtonsoft.Json; namespace Main.Packets { public enum PacketTypes { ConnectionRequestPacket, ConnectionConfirmationPacket, FreeConnectionPacket, ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/Packets/PacketTypes.cs
C#
asf20
4,452
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace Main.Packets { public class FreeConnectionPacket : Packet { private byte adresseSource; private byte adresseDestination; private Raisons raison; ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/Packets/FreeConnectionPacket.cs
C#
asf20
2,402
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.Packets { public abstract class Packet { protected byte numeroConnexion; protected byte typePacket; public byte NumeroConnexion { get { return numeroConnexion; } } ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/Packets/Paquet.cs
C#
asf20
1,499
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; using System.IO; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Main.PrimitivesCommunication; namespace Main.Packets { public abstract class Packet { protected byte n...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/Packets/Packet.cs
C#
asf20
2,722
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.Packets { public enum DisconnectRaison { DeclinedByDestination = 1, DeclinedByProvider } public class DisconnectionPacket : Packet { private byte adresseSource...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/Packets/DisconnectionPaquet.cs
C#
asf20
2,369
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.Paquets { public class Packet3 { private Packet3 pdu; } }
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/Packets/Packet3.cs
C#
asf20
195
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.Packets { public class ConnectionPacket : Packet { private byte adresseSource; private byte adresseDestination; private ConnectionPacket(byte numeroConnexion, byte typePack...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/Packets/ConnectionPaquet.cs
C#
asf20
2,293
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace Main.Packets { public class ConnectionPacket : Packet { private byte adresseSource; private byte adresseDestination; public ConnectionPacket() { } ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/Packets/ConnectionPacket.cs
C#
asf20
1,979
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace Core.Packets { public class DataPacket : Packet { private const int DATA_SIZE = 128; private byte[] data = new byte[DATA_SIZE]; private DataPacket(b...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/Packets/DataPaquet.cs
C#
asf20
2,529
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace Main.Packets { public class DataPacket : Packet { private const int MAX_BYTES = 128; private string data; private DataPacket(byte numeroConnexion, Pack...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/Packets/DataPacket.cs
C#
asf20
1,634
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.Paquets { public enum PaquetTypes { RequestConnectionPaquet = 11, ConfirmationConnectionPaquet = 15, FreeConnectionPaquet = 19 } }
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/Packets/EnumTypePaquet.cs
C#
asf20
286
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace Main.Packets { public class AcknowledgementPacket : Packet { public AcknowledgementPacket(byte numeroConnexion, PacketType type) : base(numeroConnexion, type) ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Core/Packets/AcknowledgementPacket.cs
C#
asf20
722
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Main.Properties; using System.IO; using Main.Reseau; using Main.PrimitivesCommunication; using System.IO.Pipes; using System.Threading; namespace Main.Transport { class CoucheTransport { ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Transport/CoucheTransport.cs
C#
asf20
5,326
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Timers; namespace Main.Transport { public enum EtatsConnexion { ConnexionEtablie, EnAttente } public class Connexion { private static List<Connexion> listeCon...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Transport/ConnexionTransport.cs
C#
asf20
2,365
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using Core; using Transport.Properties; using Core.Packets; using System.IO; using Core.PrimitivesCommunication; using System.IO.Pipes; namespace Transport { static class Program { static Main...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Transport/Program.cs
C#
asf20
2,674
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Serialization; using System.IO; namespace Core.PrimitivesCommunication { public class PrimitiveNConnect : Primitive { #region Attributs d'instance de classe #endre...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/PrimitivesCommunication/PrimitiveNConnect.cs
C#
asf20
515
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Xml.Serialization; using Newtonsoft.Json; using System.IO.Pipes; using Main.Packets; using System.Threading; namespace Main.PrimitivesCommunication { public class Primitive { ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/PrimitivesCommunication/Primitive.cs
C#
asf20
7,021
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Main.PrimitivesCommunication { public enum Primitives { NConnectRequest = 11, NConnectIndication, NConnectResponse, NConnectConfirmation = 15, NDataRequest, ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/PrimitivesCommunication/Primitives.cs
C#
asf20
420
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.PrimitivesCommunication { public class PrimitiveNData : Primitive { #region Attributs d'instance de classe #endregion #region Propriétés ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/PrimitivesCommunication/PrimitiveNData.cs
C#
asf20
467
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.PrimitivesCommunication { public class PrimitiveNDisconnect : Primitive { #region Attributs d'instance de classe #endregion #region Propriétés ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/PrimitivesCommunication/PrimitiveNDisconnect.cs
C#
asf20
462
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly:...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Properties/AssemblyInfo.cs
C#
asf20
1,541
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace Main { public class PDUSession { private int applicationId; private string addresseDestination; private string data; public int ApplicationId { get { ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/PDUSession.cs
C#
asf20
1,363
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Main { public static class REGLES { public static string S_LECTURE = "S_LECTURE.txt"; public static string S_ECRITURE = "S_ECRITURE.txt"; public static string L_LECTURE = "L_LECTU...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/REGLES.cs
C#
asf20
715
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Main.Packets { public enum Raisons { DistantRefuse = 1, FournisseurRefuse, None } }
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Packets/Raisons.cs
C#
asf20
234
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Main.PrimitivesCommunication; using Newtonsoft.Json; namespace Main.Packets { public enum PacketTypes { ConnectionRequestPacket, ConnectionConfirmationPacket, FreeConnectionPacket, ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Packets/PacketTypes.cs
C#
asf20
4,452
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace Main.Packets { public class FreeConnectionPacket : Packet { private byte adresseSource; private byte adresseDestination; private Raisons raison; ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Packets/FreeConnectionPacket.cs
C#
asf20
2,402
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.Packets { public abstract class Packet { protected byte numeroConnexion; protected byte typePacket; public byte NumeroConnexion { get { return numeroConnexion; } } ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Packets/Paquet.cs
C#
asf20
1,499
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; using System.IO; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Main.PrimitivesCommunication; namespace Main.Packets { public abstract class Packet { protected byte n...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Packets/Packet.cs
C#
asf20
2,722
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.Packets { public enum DisconnectRaison { DeclinedByDestination = 1, DeclinedByProvider } public class DisconnectionPacket : Packet { private byte adresseSource...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Packets/DisconnectionPaquet.cs
C#
asf20
2,369
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.Paquets { public class Packet3 { private Packet3 pdu; } }
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Packets/Packet3.cs
C#
asf20
195
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.Packets { public class ConnectionPacket : Packet { private byte adresseSource; private byte adresseDestination; private ConnectionPacket(byte numeroConnexion, byte typePack...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Packets/ConnectionPaquet.cs
C#
asf20
2,293
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace Main.Packets { public class ConnectionPacket : Packet { private byte adresseSource; private byte adresseDestination; public ConnectionPacket() { } ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Packets/ConnectionPacket.cs
C#
asf20
1,979
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace Core.Packets { public class DataPacket : Packet { private const int DATA_SIZE = 128; private byte[] data = new byte[DATA_SIZE]; private DataPacket(b...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Packets/DataPaquet.cs
C#
asf20
2,529
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace Main.Packets { public class DataPacket : Packet { private const int MAX_BYTES = 128; private string data; private DataPacket(byte numeroConnexion, Pack...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Packets/DataPacket.cs
C#
asf20
1,634
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.Paquets { public enum PaquetTypes { RequestConnectionPaquet = 11, ConfirmationConnectionPaquet = 15, FreeConnectionPaquet = 19 } }
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Packets/EnumTypePaquet.cs
C#
asf20
286
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace Main.Packets { public class AcknowledgementPacket : Packet { public AcknowledgementPacket(byte numeroConnexion, PacketType type) : base(numeroConnexion, type) ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Packets/AcknowledgementPacket.cs
C#
asf20
722
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using Main.Transport; using Main.Reseau; using System.Threading; using System.Windows.Forms; namespace Main { class Program { static void Main(string[] args) { ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Program.cs
C#
asf20
1,656
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Timers; namespace Main.Reseau { public enum EtatsConnexion { ConnexionEtablie, EnAttente } public class Connexion { private static List<Connexion> listeConnex...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Reseau/ConnexionReseau.cs
C#
asf20
2,290
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO.Pipes; using Main.PrimitivesCommunication; using System.IO; using System.Threading; using Main.Packets; using Newtonsoft.Json; namespace Main.Reseau { class CoucheReseau { private const...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Main/Reseau/CoucheReseau.cs
C#
asf20
8,248
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Reseau { public partial class Main : Form { public Main() { InitializeCom...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Reseau/Main.cs
C#
asf20
604
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Timers; namespace Main.Reseau { public enum EtatsConnexion { ConnexionEtablie, EnAttente } public class Connexion { private static List<Connexion> listeConnex...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Reseau/ConnexionReseau.cs
C#
asf20
2,290
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly:...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Reseau/Properties/AssemblyInfo.cs
C#
asf20
1,545
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO.Pipes; using Main.PrimitivesCommunication; using System.IO; using System.Threading; using Main.Packets; //using Newtonsoft.Json; namespace Main.Reseau { class CoucheReseau { private con...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Reseau/CoucheReseau.cs
C#
asf20
8,250
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using Main.Reseau; using System.Threading; namespace Reseau { static class Program { static Main consoleMain; /// <summary> /// Point d'entrée principal de l'application. ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Avant/Reseau/Program.cs
C#
asf20
865
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Liaison { public partial class Main : Form { public Main() { InitializeCo...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Liaison/Main.cs
C#
asf20
355
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly:...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Liaison/Properties/AssemblyInfo.cs
C#
asf20
1,547
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace Liaison { static class Program { /// <summary> /// Point d'entrée principal de l'application. /// </summary> [STAThread] static void Main() { ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Liaison/Program.cs
C#
asf20
500
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Serialization; using System.IO; namespace Core.PrimitivesCommunication { public class PrimitiveNConnect : Primitive { #region Attributs d'instance de classe #endre...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Core/PrimitivesCommunication/PrimitiveNConnect.cs
C#
asf20
515
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Xml.Serialization; using Newtonsoft.Json; using System.IO.Pipes; using Main.Packets; namespace Main.PrimitivesCommunication { public class Primitive { #region Attributs ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Core/PrimitivesCommunication/Primitive.cs
C#
asf20
6,970
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Main.PrimitivesCommunication { public enum Primitives { NConnectRequest = 11, NConnectIndication, NConnectResponse, NConnectConfirmation = 15, NDataRequest, ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Core/PrimitivesCommunication/Primitives.cs
C#
asf20
420
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.PrimitivesCommunication { public class PrimitiveNData : Primitive { #region Attributs d'instance de classe #endregion #region Propriétés ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Core/PrimitivesCommunication/PrimitiveNData.cs
C#
asf20
467
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.PrimitivesCommunication { public class PrimitiveNDisconnect : Primitive { #region Attributs d'instance de classe #endregion #region Propriétés ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Core/PrimitivesCommunication/PrimitiveNDisconnect.cs
C#
asf20
462
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.Primitives { public class PrimitiveNConnect : Primitive { #region Attributs d'instance de classe private string adresseSource; private string adresseDestination; ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Core/Primitives/PrimitiveNConnect.cs
C#
asf20
2,048
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.Primitives { public abstract class Primitive { protected Primitives primitive; public Primitives Primitives { get { return primitive; } } } }
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Core/Primitives/Primitive.cs
C#
asf20
290
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.Primitives { public enum Primitives { NConnectRequest, NConnectIndication, NConnectResponse, NConnectConfirmation, NDataRequest, NDataIndication, ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Core/Primitives/Primitives.cs
C#
asf20
392
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.Primitives { public class PrimitiveNData : Primitive { #region Attributs d'instance de classe private string donneesUtilisateur; #endregion private Primitive...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Core/Primitives/PrimitiveNData.cs
C#
asf20
1,119
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.Primitives { public class PrimitiveNDisconnect : Primitive { #region Attributs d'instance de classe private string adresseReponse; private string raison; #endreg...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Core/Primitives/PrimitiveNDisconnect.cs
C#
asf20
1,293
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly:...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Core/Properties/AssemblyInfo.cs
C#
asf20
1,541
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Main { public static class REGLES { public static string S_LECTURE = "S_LECTURE.txt"; public static string S_ECRITURE = "S_ECRITURE.txt"; public static string L_LECTURE = "L_LECTU...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Core/REGLES.cs
C#
asf20
715
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Main.Properties; using System.IO; using Main.Reseau; using Main.PrimitivesCommunication; using System.IO.Pipes; using System.Threading; namespace Main.Transport { class CoucheTransport { ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Main/Transport/CoucheTransport.cs
C#
asf20
5,284
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Timers; namespace Main.Transport { public enum EtatsConnexion { ConnexionEtablie, EnAttente } public class Connexion { private static List<Connexion> listeCon...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Main/Transport/ConnexionTransport.cs
C#
asf20
2,365
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using Core; using Transport.Properties; using Core.Packets; using System.IO; using Core.PrimitivesCommunication; using System.IO.Pipes; namespace Transport { static class Program { static Main...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Main/Transport/Program.cs
C#
asf20
2,674
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Serialization; using System.IO; namespace Core.PrimitivesCommunication { public class PrimitiveNConnect : Primitive { #region Attributs d'instance de classe #endre...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Main/PrimitivesCommunication/PrimitiveNConnect.cs
C#
asf20
515
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Xml.Serialization; using Newtonsoft.Json; using System.IO.Pipes; using Main.Packets; namespace Main.PrimitivesCommunication { public class Primitive { #region Attributs ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Main/PrimitivesCommunication/Primitive.cs
C#
asf20
6,970
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Main.PrimitivesCommunication { public enum Primitives { NConnectRequest = 11, NConnectIndication, NConnectResponse, NConnectConfirmation = 15, NDataRequest, ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Main/PrimitivesCommunication/Primitives.cs
C#
asf20
420
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.PrimitivesCommunication { public class PrimitiveNData : Primitive { #region Attributs d'instance de classe #endregion #region Propriétés ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Main/PrimitivesCommunication/PrimitiveNData.cs
C#
asf20
467
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Core.PrimitivesCommunication { public class PrimitiveNDisconnect : Primitive { #region Attributs d'instance de classe #endregion #region Propriétés ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Main/PrimitivesCommunication/PrimitiveNDisconnect.cs
C#
asf20
462
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly:...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Main/Properties/AssemblyInfo.cs
C#
asf20
1,541
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace Main { public class PDUSession { private int applicationId; private string addresseDestination; private string data; public int ApplicationId { get { ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Main/PDUSession.cs
C#
asf20
1,363
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Main { public static class REGLES { public static string S_LECTURE = "S_LECTURE.txt"; public static string S_ECRITURE = "S_ECRITURE.txt"; public static string L_LECTURE = "L_LECTU...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Main/REGLES.cs
C#
asf20
715
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Main.Packets { public enum Raisons { DistantRefuse = 1, FournisseurRefuse, None } }
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Main/Packets/Raisons.cs
C#
asf20
234
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Main.PrimitivesCommunication; using Newtonsoft.Json; namespace Main.Packets { public enum PacketTypes { ConnectionRequestPacket, ConnectionConfirmationPacket, FreeConnectionPacket, ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Main/Packets/PacketTypes.cs
C#
asf20
4,452
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace Main.Packets { public class FreeConnectionPacket : Packet { private byte adresseSource; private byte adresseDestination; private Raisons raison; ...
028490q38u532895uy92hf98jh98shfe98sehgesg
trunk/Main/Packets/FreeConnectionPacket.cs
C#
asf20
2,402