So I am new to protobuf3 and was wondering what would be the best way to implement my old packet system into protobuf3 for flutter/netty communication. Is there any way I can make receive/send multiple packets without having to register a decoder for each packet in netty? If so, how?
What is the best way to implement Protobuf3 with multiple types of packets?
93 Views Asked by Fern At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in DART
- How to set a component published attribute
- using dart route package url got error 404
- Using Document Discovery service on a non-app engine service
- Setting height of bwu-datagrid to dynamic
- use sass transformer in intellij dart
- Get 3D cube from an Obb3
- Send event from parent to child element in polymer.dart
- In the dart:io library, why would one want to set runInShell: true when calling Process.run?
- Can two @published properties have the same name
- dartanalyzer doesn't give a warning for missing implementation from interface
- WebStorm DartUnit with test api, run/debug error
- Polymer Dart - How can I read when core-list-dart is populated with data for a loading spinner?
- Refuse to load JS in Dart
- How to test Dart Polymer elements using the new Test library?
- Checking, if optional parameter is provided in Dart
Related Questions in NETTY
- Netty loses udp packets at the beginning of the communication
- How to create channel pool in netty?
- How to load balancing multiple Netty TCP socket server with nginx stream module?
- Play 2.4.0 https support - RSA no longer available?
- Why is my MessageToMessage Encoder not sending data? (Netty 4)
- Apache Camel: How to read a multi-line XML response using netty4:tcp
- Can Netty be used to boost Client / Server (in Jetty 9) application communication?
- How to read server response in netty channel pool?
- What ensure Netty handlers will get GCed
- Support P2P in Netty or Mina?
- when netty connects to my server?
- How to get notified when unfiltered Netty server actually gets shutdown?
- Why do I need to give the hostname in netty socketio and how to handle socketio in docker?
- Using Camel netty4 "unsupported message type" exception when sending String over UDP
- Several questions about netty's ChannelPoolMap
Related Questions in PROTOBUF-3
- how to store time.duration in protobuf3
- How can I stop printing the error message "Can't parse message of type because it is missing required fields" with protobuf3
- python protobuf assign a dictionary to any fields of google proto
- Why can't I use protoc generate Python3 object which has an Any type field via --python3_out, only --python_out works
- Using protbuf3, how can I express the type 'Map string (Maybe CustomType)'?
- Protobuf3: What happens when all fields of an object happen to be set to default value
- Deserialize Protobuf 3 bytearray in python
- Repeated Int32Value in protobuf3 (nullable int array)
- How to store time in protobuf 3
- What is the best way to implement Protobuf3 with multiple types of packets?
- How to update Protocol Buffer runtime library on Jetson TX1?
- Polymorphism in Protocol Buffers 3
- Error while building C++ Protobuf using cmake
- Efficient message field setting in Python Protobuf
- GRPC nested arrays (protobuf3)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Well I just decided to make a list of packets that should be decoded and then make a decoder with a list of decoders that extend the protobuf decoder, and make it so it loops through all the decoders and check if it was parsed correctly and return the object if it was. The source is here (MultiplePacketDecoder should be added to the pipeline with the list of SinglePacketDecoder added in it's constructor)