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
|
<T extends AbstractNettyServer> |
onServerStart(T server) |
<T extends AbstractNettyServer> |
onServerStop(T server) |
getAutoFlushIdleMs, setAutoFlushIdleMs, 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
ProtocolHandleraddPipeline 在接口中 ProtocolHandleraddPipeline 在类中 AbstractProtocolchannel - TCP channelException - Exceptionpublic int getOrder()
ProtocolHandlergetOrder 在接口中 OrderedgetOrder 在接口中 ProtocolHandlergetOrder 在接口中 ServerListenergetOrder 在类中 AbstractProtocolpublic <T extends AbstractNettyServer> void onServerStart(T server) throws Exception
Exceptionpublic <T extends AbstractNettyServer> void onServerStop(T server) throws Exception
ExceptionCopyright © 2021. All rights reserved.