Package org.red5.server.net.rtmps
Class MockRTMPSMinaIoHandler
java.lang.Object
org.apache.mina.core.service.IoHandlerAdapter
org.red5.server.net.rtmp.RTMPMinaIoHandler
org.red5.server.net.rtmps.RTMPSMinaIoHandler
org.red5.server.net.rtmps.MockRTMPSMinaIoHandler
- All Implemented Interfaces:
org.apache.mina.core.service.IoHandler
-
Field Summary
Fields inherited from class org.red5.server.net.rtmp.RTMPMinaIoHandler
handler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsessionCreated(org.apache.mina.core.session.IoSession session) voidsetCipherSuites(String[] cipherSuites) voidsetHandler(IRTMPHandler handler) Setter for handler.voidsetKeystoreFile(String keystoreFile) Set keystore data from a file.voidsetKeystorePassword(String keystorePassword) Password used to access the keystore file.voidsetProtocols(String[] protocols) voidsetTruststoreFile(String truststoreFile) Set truststore file path.voidsetTruststorePassword(String truststorePassword) Password used to access the truststore file.Methods inherited from class org.red5.server.net.rtmps.RTMPSMinaIoHandler
getCipherSuites, getProtocols, setNeedClientAuth, setUseClientMode, setWantClientAuthMethods inherited from class org.red5.server.net.rtmp.RTMPMinaIoHandler
createRTMPMinaConnection, exceptionCaught, messageReceived, messageSent, sessionClosed, sessionOpened, setCodecFactoryMethods inherited from class org.apache.mina.core.service.IoHandlerAdapter
inputClosed, sessionIdle
-
Constructor Details
-
MockRTMPSMinaIoHandler
public MockRTMPSMinaIoHandler()
-
-
Method Details
-
setHandler
Description copied from class:RTMPMinaIoHandlerSetter for handler.- Overrides:
setHandlerin classRTMPMinaIoHandler- Parameters:
handler- RTMP events handler
-
setKeystorePassword
Description copied from class:RTMPSMinaIoHandlerPassword used to access the keystore file.- Overrides:
setKeystorePasswordin classRTMPSMinaIoHandler- Parameters:
keystorePassword- keystore password
-
setKeystoreFile
Description copied from class:RTMPSMinaIoHandlerSet keystore data from a file.- Overrides:
setKeystoreFilein classRTMPSMinaIoHandler- Parameters:
keystoreFile- contains keystore
-
setTruststorePassword
Description copied from class:RTMPSMinaIoHandlerPassword used to access the truststore file.- Overrides:
setTruststorePasswordin classRTMPSMinaIoHandler- Parameters:
truststorePassword- truststore password
-
setTruststoreFile
Description copied from class:RTMPSMinaIoHandlerSet truststore file path.- Overrides:
setTruststoreFilein classRTMPSMinaIoHandler- Parameters:
truststoreFile- contains truststore
-
setCipherSuites
- Overrides:
setCipherSuitesin classRTMPSMinaIoHandler
-
setProtocols
- Overrides:
setProtocolsin classRTMPSMinaIoHandler
-
sessionCreated
Description copied from class:RTMPSMinaIoHandler- Specified by:
sessionCreatedin interfaceorg.apache.mina.core.service.IoHandler- Overrides:
sessionCreatedin classRTMPSMinaIoHandler- Throws:
Exception
-