public class RtspProtocol extends AbstractProtocol
COMPARATOR| 构造器和说明 |
|---|
RtspProtocol() |
RtspProtocol(int maxInitialLineLength,
int maxHeaderSize,
int maxContentLength,
io.netty.channel.ChannelHandler channelHandler) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addPipeline(io.netty.channel.Channel channel)
add protocol pipeline support
|
boolean |
canSupport(io.netty.buffer.ByteBuf msg)
Support protocol
|
int |
getOrder()
default Priority order 0
|
String |
getProtocolName()
Get the protocol name
|
void |
onServerStart() |
void |
onServerStop() |
toStringcanSupportconfigpublic RtspProtocol()
public RtspProtocol(int maxInitialLineLength,
int maxHeaderSize,
int maxContentLength,
io.netty.channel.ChannelHandler channelHandler)
public String getProtocolName()
ProtocolHandlerpublic boolean canSupport(io.netty.buffer.ByteBuf msg)
ProtocolHandlermsg - client first messagepublic void addPipeline(io.netty.channel.Channel channel)
throws Exception
ProtocolHandlerchannel - TCP channelException - Exceptionpublic int getOrder()
ProtocolHandlergetOrder 在接口中 OrderedgetOrder 在接口中 ProtocolHandlergetOrder 在接口中 ServerListenergetOrder 在类中 AbstractProtocolCopyright © 2020. All rights reserved.