sjsu-cmpe / vyuudha

Vyuudha - A clean room implementation of a distributed storage middleware for education and research.
5 stars 2 forks source link

Internal protocol using google protobuf #7

Closed utsengar closed 13 years ago

utsengar commented 13 years ago

Start here: com/dds/plugin/serialization/protobuf

Discuss the protocol to use for packet transfer in the middleware.

Language guide:http://code.google.com/apis/protocolbuffers/docs/proto.html

Style guide: http://code.google.com/apis/protocolbuffers/docs/style.html

How to generate java class from proto:

protoc -I=/Users/utkarsh/source/ --java_out=/Users/utkarsh/destination/ /Users/utkarsh/source/DataExchangeInternal.proto

utsengar commented 13 years ago

com.dds.plugin.serialization.* will have all the data transfer protocols. By default we should use regular java serialized objects.