Esempio n. 1
0
 static void InitializeDB(UdpClient client, Rational budget)
 {
     InitializeDBRequest initializeDBRequest = new InitializeDBRequest(budget);
     byte[] request = initializeDBRequest.GetPacket();
     byte[] response = CommonRoutines.SendRequest(client, request, "InitializeDB");
     InitializeDBResponse initializeDBResponse = new InitializeDBResponse(response);
 }
Esempio n. 2
0
        static void InitializeDB(UdpClient client, Rational budget)
        {
            InitializeDBRequest initializeDBRequest = new InitializeDBRequest(budget);

            byte[] request  = initializeDBRequest.GetPacket();
            byte[] response = CommonRoutines.SendRequest(client, request, "InitializeDB");
            InitializeDBResponse initializeDBResponse = new InitializeDBResponse(response);
        }