Package be.demmel.jgws.packets.serialization.reflection

Examples of be.demmel.jgws.packets.serialization.reflection.ReflectionPacketDeserializer.deserialize()


        // the header isn't parsed by using reflection
        buffer.readByte();
        buffer.readByte();
       
        // deserializer the object
        P008_TestPacket testIncomingPacket = (P008_TestPacket) packetDeserializer.deserialize(buffer);

        // test that the deserializer correctly extracted all values
        assertEquals(1, testIncomingPacket.getUnsignedInteger1());
        assertEquals(2, testIncomingPacket.getUnsignedInteger2());
        assertEquals(3, testIncomingPacket.getUnsignedShort1());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.