Ejemplo n.º 1
0
 public Data getClone()
 {
     Data clonedData = new Data();
     return clonedData;
 }
 private Data constructNullBakraData()
 {
         Console.WriteLine("TransportLayerCommunicator::receiveTwoWay return data from notifyTwoWayMsg is null");
         String strNull = "NULLBAKRA";
         Data data = new Data();
         data.buffer = System.Text.Encoding.ASCII.GetBytes(strNull);
         data.offset = 0;
         data.size = strNull.Length;
        
         return data;
 }
Ejemplo n.º 3
0
 //need to decide: shallow or deep copy
 public Data(Data d)
 {
 }