コード例 #1
0
        } // end of marshal method

        new public void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
                _realWorldTime.unmarshal(dis);
                _simulationTime.unmarshal(dis);
                _requestID = dis.readUint();
            } // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of unmarshal method
コード例 #2
0
        } // end of marshal method

        new public void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
                _realWorldTime.unmarshal(dis);
                _reason         = dis.readByte();
                _frozenBehavior = dis.readByte();
                _padding1       = dis.readShort();
                _requestID      = dis.readUint();
            } // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of unmarshal method
コード例 #3
0
        } // end of marshal method

        new public void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
                _realWorldTime.unmarshal(dis);
                _simulationTime.unmarshal(dis);
                _requiredReliabilityService = dis.readByte();
                _pad1      = dis.readUshort();
                _pad2      = dis.readByte();
                _requestID = dis.readUint();
            } // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of unmarshal method