Package org.apache.dubbo.remoting.api
Interface ProtocolDetector
public interface ProtocolDetector
Determine incoming bytes belong to the specific protocol.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumstatic class -
Method Summary
Modifier and TypeMethodDescriptiondetect(ChannelBuffer in) default intgetByteByIndex(ChannelBuffer buffer, int index) default booleanprefixMatch(char[][] prefixes, ChannelBuffer buffer, int length)
-
Method Details
-
detect
-
getByteByIndex
-
prefixMatch
-