RpcChannel and RpcController Implementation

686 views
Skip to first unread message

Amit

unread,
Feb 17, 2011, 1:39:46 AM2/17/11
to Protocol Buffers

Hi All,

I am very new to Protocol Buffer. I went through the documentation and
found that we have to provide our own implementation of RpcChannel and
RpcController interface. I'm not sure that what would I write in the
implemented methods. I'm using JAVA in my application.

Basically my requirement is to expose the API from Google App Engine
and consumes it in stand-alone java application.

It would be great if you could provide me an example for that.

Any help will be appreciated.

Thanks,
Amit

Amit Pandey

unread,
Feb 21, 2011, 3:06:42 AM2/21/11
to prot...@googlegroups.com
Did anyone get the chance to look into it.

Evan Jones

unread,
Feb 21, 2011, 7:53:26 AM2/21/11
to Amit Pandey, prot...@googlegroups.com
On Feb 21, 2011, at 3:06 , Amit Pandey wrote:
> Did anyone get the chance to look into it.

If you want to use the RPC system, you need to provide your own
implementation, or maybe use an existing one, such as:

http://code.google.com/p/protobuf/wiki/ThirdPartyAddOns#RPC_Implementations

If this doesn't answer your question, maybe you need to be more
specific. What are you trying to do?

Evan

--
http://evanjones.ca/

Kenton Varda

unread,
Feb 22, 2011, 12:45:58 PM2/22/11
to Amit, Protocol Buffers
For AppEngine you'll need to accept all incoming requests over HTTP.  You probably don't want to use the RPC interfaces -- just use the regular servlet interface and use encoded protobufs in the request and response bodies.


--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to prot...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.


Amit Pandey

unread,
Feb 23, 2011, 1:05:35 AM2/23/11
to Kenton Varda, Protocol Buffers
Completely make sense. Thanks Kenton.
Reply all
Reply to author
Forward
0 new messages