Output of pizza_example.py

Opening mypizzadatabase
Opening PSpace
Opening working set
Created new database
 Id  CustomerId        Name       Status
------------------------------------------
   0          9     John Matthews      2
   1          4     John Matthews      3
   3         10      Greg Johnson      3
   4          1      Greg Johnson      1
toppings: {0: (1.54, 'Pineapple')}
Closing WorkingSet
Closing PSpace
Closing PersistStore
Opening mypizzadatabase
Opening PSpace
Opening working set
Opened existing database
 Id  CustomerId        Name       Status
------------------------------------------
   0          9     John Matthews      2
   1          4     John Matthews      3
   3         10      Greg Johnson      3
   4          1      Greg Johnson      1
   9         11      John Johnson      0
  10          2    Peter Matthews      2
  11          9     John Matthews      0
  12          8     Greg Matthews      1
  16         10      Greg Johnson      3
  17          6       John Howard      3
  18         11      John Johnson      2
toppings: {0: (1.54, 'Pineapple'), 1: (1.75, 'Ham')}
Closing WorkingSet
Closing PSpace
Closing PersistStore
Opening mypizzadatabase
Opening PSpace
Opening working set
Opened existing database
 Id  CustomerId        Name       Status
------------------------------------------
   0          9     John Matthews      2
   1          4     John Matthews      3
   2         12     Greg Matthews      0
   3         10      Greg Johnson      3
   4          1      Greg Johnson      1
   6         12     Greg Matthews      2
   9         11      John Johnson      0
  10          2    Peter Matthews      2
  11          9     John Matthews      0
  12          8     Greg Matthews      1
  14         12     Greg Matthews      1
  16         10      Greg Johnson      3
  17          6       John Howard      3
  18         11      John Johnson      2
  20          2    Peter Matthews      1
  21          7       Janet Gates      1
  22          9     John Matthews      3
  23          2    Peter Matthews      3
  24          3       Janet Smith      2
  26          7       Janet Gates      1
  27          8     Greg Matthews      3
  28          7       Janet Gates      1
  29          1      Greg Johnson      0
toppings: {0: (1.54, 'Pineapple'), 1: (1.75, 'Ham'), 2: (1.59, 'Ham')}
Closing WorkingSet
Closing PSpace
Closing PersistStore

Replication test mypizzadatabase to myreplicatedpizzadatabase
Opening mypizzadatabase
Opening PSpace
Opening working set
Creating server listening on port 3000
num server operations = 16
Opening myreplicatedpizzadatabase
Opening PSpace
Opening working set
Creating client connecting to '127.0.0.1':3000
num client operations = 0
num client operations = 0
num client operations = 0
num client operations = 0
num client operations = 16
time to sync databases = 0.003000020980834961 seconds
TPizzaDeliveryDatabase
{
    Vehicles = 
    {
        1 : TVehicle(1,OQW.249)
        2 : TVehicle(1,QIX.934)
        3 : TVehicle(2,URL.605)
        4 : TVehicle(2,CKW.149)
        5 : TVehicle(3,RQB.463)
        6 : TVehicle(8,DSP.271)
        7 : TVehicle(4,DMQ.807)
        8 : TVehicle(2,GJQ.283)
        9 : TVehicle(2,QIK.090)
        10 : TVehicle(6,UHF.287)
    }
    VehicleTypes = 
    {
        1 : TVehicleType(Ford Fiesta)
        2 : TVehicleType(Mazda3)
        3 : TVehicleType(Kia Rio)
        4 : TVehicleType(Toyota Yaris)
        5 : TVehicleType(Honda Civic)
        6 : TVehicleType(Mitsubishi Lancer)
        7 : TVehicleType(Subaru Impreza)
        8 : TVehicleType(Volkswagen Passat)
    }
    Employees = 
    {
        0 : TEmployee
        {
            Address = TAddress
            {
                Number = 28
                Street = Regent St
                City = Berlin
                ZipPostCode = 2889
                StateProvinceCounty = Florida
                Country = England
            }
            FirstName = Greg
            LastName = Gates
            PhoneNumber = 3227 039 868
        }
        1 : TEmployee
        {
            Address = TAddress
            {
                Number = 26
                Street = Old Kent Road
                City = London
                ZipPostCode = 9413
                StateProvinceCounty = New South Wales
                Country = USA
            }
            FirstName = Rihanna
            LastName = Gates
            PhoneNumber = 9802 221 427
        }
        2 : TEmployee
        {
            Address = TAddress
            {
                Number = 34
                Street = Oxford St
                City = Paris
                ZipPostCode = 9770
                StateProvinceCounty = Texas
                Country = India
            }
            FirstName = Rihanna
            LastName = Howard
            PhoneNumber = 0080 442 337
        }
    }
    Toppings = 
    {
        0 : TTopping
        {
            Price = 1.54
            Description = Pineapple
        }
        1 : TTopping
        {
            Price = 1.75
            Description = Ham
        }
        2 : TTopping
        {
            Price = 1.59
            Description = Ham
        }
    }
    Customers = 
    {
        0 : TCustomer
        {
            Address = TAddress
            {
                Number = 25
                Street = Oxford St
                City = Berlin
                ZipPostCode = 4812
                StateProvinceCounty = New South Wales
                Country = Australia
            }
            FirstName = Greg
            LastName = Matthews
            PhoneNumber = 3804 939 587
            Email = Janet.Gates@gmail.com
            DateOfFirstOrder = Nov 28 2016 00:11
            PaymentMethod = CreditCard
        }
        1 : TCustomer
        {
            Address = TAddress
            {
                Number = 23
                Street = Mayfair St
                City = Paris
                ZipPostCode = 4749
                StateProvinceCounty = Texas
                Country = India
            }
            FirstName = Greg
            LastName = Johnson
            PhoneNumber = 7853 008 714
            Email = Janet.Johnson@gmail.com
            DateOfFirstOrder = Feb 07 2017 10:40
            PaymentMethod = CreditCard
        }
        2 : TCustomer
        {
            Address = TAddress
            {
                Number = 34
                Street = Old Kent Road
                City = Perth
                ZipPostCode = 7072
                StateProvinceCounty = California
                Country = USA
            }
            FirstName = Peter
            LastName = Matthews
            PhoneNumber = 6622 722 066
            Email = Peter.Matthews@gmail.com
            DateOfFirstOrder = Jul 26 2016 05:14
            PaymentMethod = Cash
        }
        3 : TCustomer
        {
            Address = TAddress
            {
                Number = 28
                Street = Oxford St
                City = Paris
                ZipPostCode = 5620
                StateProvinceCounty = Alaska
                Country = Australia
            }
            FirstName = Janet
            LastName = Smith
            PhoneNumber = 1902 524 384
            Email = Greg.Johnson@gmail.com
            DateOfFirstOrder = Dec 27 2017 15:59
            PaymentMethod = CreditCard
        }
        4 : TCustomer
        {
            Address = TAddress
            {
                Number = 6
                Street = Mayfair St
                City = Perth
                ZipPostCode = 7529
                StateProvinceCounty = New South Wales
                Country = Australia
            }
            FirstName = John
            LastName = Matthews
            PhoneNumber = 6553 329 543
            Email = Kate.Matthews@gmail.com
            DateOfFirstOrder = Jul 06 2017 07:19
            PaymentMethod = EftPos
        }
        5 : TCustomer
        {
            Address = TAddress
            {
                Number = 39
                Street = Old Kent Road
                City = Paris
                ZipPostCode = 8974
                StateProvinceCounty = New South Wales
                Country = India
            }
            FirstName = John
            LastName = Gates
            PhoneNumber = 1976 424 734
            Email = John.Johnson@gmail.com
            DateOfFirstOrder = Nov 15 2017 00:29
            PaymentMethod = CreditCard
        }
        6 : TCustomer
        {
            Address = TAddress
            {
                Number = 22
                Street = Old Kent Road
                City = Berlin
                ZipPostCode = 5099
                StateProvinceCounty = California
                Country = England
            }
            FirstName = John
            LastName = Howard
            PhoneNumber = 3705 745 265
            Email = Greg.Smith@gmail.com
            DateOfFirstOrder = Aug 28 2016 14:05
            PaymentMethod = EftPos
        }
        7 : TCustomer
        {
            Address = TAddress
            {
                Number = 12
                Street = Regent St
                City = Berlin
                ZipPostCode = 6671
                StateProvinceCounty = New South Wales
                Country = India
            }
            FirstName = Janet
            LastName = Gates
            PhoneNumber = 7538 686 321
            Email = John.Johnson@gmail.com
            DateOfFirstOrder = Feb 23 2016 10:04
            PaymentMethod = Cash
        }
        8 : TCustomer
        {
            Address = TAddress
            {
                Number = 33
                Street = Regent St
                City = Perth
                ZipPostCode = 1655
                StateProvinceCounty = California
                Country = England
            }
            FirstName = Greg
            LastName = Matthews
            PhoneNumber = 5066 573 720
            Email = Greg.Matthews@gmail.com
            DateOfFirstOrder = Mar 17 2016 21:23
            PaymentMethod = CreditCard
        }
        9 : TCustomer
        {
            Address = TAddress
            {
                Number = 19
                Street = Regent St
                City = Perth
                ZipPostCode = 4223
                StateProvinceCounty = New South Wales
                Country = Australia
            }
            FirstName = John
            LastName = Matthews
            PhoneNumber = 2062 157 566
            Email = JaFailure : mcsf = 1 ec = connection has been closed
Failure : mcsf = 1 ec = An existing connection was forcibly closed by the remote host
net.Smith@gmail.com
            DateOfFirstOrder = Jan 15 2016 20:52
            PaymentMethod = EftPos
        }
        10 : TCustomer
        {
            Address = TAddress
            {
                Number = 18
                Street = Mayfair St
                City = London
                ZipPostCode = 9432
                StateProvinceCounty = Texas
                Country = Australia
            }
            FirstName = Greg
            LastName = Johnson
            PhoneNumber = 7448 708 067
            Email = Rihanna.Smith@gmail.com
            DateOfFirstOrder = Jul 10 2016 11:56
            PaymentMethod = EftPos
        }
        11 : TCustomer
        {
            Address = TAddress
            {
                Number = 43
                Street = Oxford St
                City = Berlin
                ZipPostCode = 7201
                StateProvinceCounty = Texas
                Country = England
            }
            FirstName = John
            LastName = Johnson
            PhoneNumber = 8601 853 412
            Email = John.Gates@gmail.com
            DateOfFirstOrder = Mar 25 2017 21:56
            PaymentMethod = EftPos
        }
        12 : TCustomer
        {
            Address = TAddress
            {
                Number = 48
                Street = Regent St
                City = Paris
                ZipPostCode = 3424
                StateProvinceCounty = California
                Country = Australia
            }
            FirstName = Greg
            LastName = Matthews
            PhoneNumber = 0222 851 294
            Email = Rihanna.Howard@gmail.com
            DateOfFirstOrder = Aug 20 2017 19:06
            PaymentMethod = CreditCard
        }
    }
    Orders = [00000004.0000000b,00000004.0000000c,00000004.0000000d,00000004.0000000e,00000004.0000000f,00000004.00000010,
              00000004.00000011,00000004.00000012,00000004.00000013,00000004.00000014,00000004.00000015,00000004.00000016,
              00000004.00000017,00000004.00000018,00000004.00000019,00000004.0000001a,00000004.0000001b,00000004.0000001c,
              00000004.0000001d,00000004.0000001e,00000004.0000001f,00000004.00000020,00000004.00000021,00000004.00000022,
              00000004.00000023,00000004.00000024,00000004.00000025,00000004.00000026,00000004.00000027,00000004.00000028]
}
Closing client
Closing Iocp
Closing WorkingSet
Closing PSpace
Closing PersistStore
Closing server
Closing Iocp
Closing WorkingSet
Closing PSpace
Closing PersistStore