예제 #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);
 }
예제 #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);
        }