Protobuf only does the marshaling/unmarshaling. You need a websocket client library to actually send the data.
On Tuesday, March 8, 2016 at 2:39:28 PM UTC-8, [email protected] wrote: > > i am the clientendpoint > > first, i want to logon the server (example: wss://demo.proto.com:433) > with username (apiTest) and password (pass) > 1.connect to the server > endpointURI = new URI("wss://demo.proto.com:443/"); > WebSocketContainer container = > ContainerProvider.getWebSocketContainer(); > container.connectToServer(this, endpointURI); > 2.bind the Logon Message > WebapiDemo.Logon.Builder loginBuilder = WebapiDemo.Logon.newBuilder(); > loginBuilder.setUserName("apiTest"); > loginBuilder.setPassword("pass"); > WebapiDemo.Logon loginMessage = loginBuilder.build(); > 3.the last thing is sending the Logon Message to the server. > > i have no idea about how to send message to remote server ,pls give me > some sample code ,thanks > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
