Exemplo n.º 1
0
        public static BTransport createTransport()
        {

            BRegistry registryBin = new BRegistry_Testser();

            BWire wire = new MyWire();

            BApiDescriptor apiDesc = new BApiDescriptor("TestSerialize",
                    "com.wilutions.byps.test.api",
                    0,
                    false);


            BProtocol proto = new BProtocolS(apiDesc, 1, 0, ByteOrder.LITTLE_ENDIAN);

            BTransport transport = new BTransport(apiDesc, wire, null);
            transport.setProtocol(proto);

            return transport;
        }
Exemplo n.º 2
0
        public static BTransport createTransport()
        {
            BRegistry registryBin = new BRegistry_Testser();

            BWire wire = new MyWire();

            BApiDescriptor apiDesc = new BApiDescriptor("TestSerialize",
                                                        "com.wilutions.byps.test.api",
                                                        0,
                                                        false);


            BProtocol proto = new BProtocolS(apiDesc, 1, 0, ByteOrder.LITTLE_ENDIAN);

            BTransport transport = new BTransport(apiDesc, wire, null);

            transport.setProtocol(proto);

            return(transport);
        }