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 TypeMethodDescriptionvoid
sessionCreated
(org.apache.mina.core.session.IoSession session) void
setCipherSuites
(String[] cipherSuites) void
setHandler
(IRTMPHandler handler) Setter for handler.void
setKeystoreFile
(String keystoreFile) Set keystore data from a file.void
setKeystorePassword
(String keystorePassword) Password used to access the keystore file.void
setProtocols
(String[] protocols) void
setTruststoreFile
(String truststoreFile) Set truststore file path.void
setTruststorePassword
(String truststorePassword) Password used to access the truststore file.Methods inherited from class org.red5.server.net.rtmps.RTMPSMinaIoHandler
getCipherSuites, getProtocols, setNeedClientAuth, setUseClientMode, setWantClientAuth
Methods inherited from class org.red5.server.net.rtmp.RTMPMinaIoHandler
createRTMPMinaConnection, exceptionCaught, messageReceived, messageSent, sessionClosed, sessionOpened, setCodecFactory
Methods inherited from class org.apache.mina.core.service.IoHandlerAdapter
inputClosed, sessionIdle
-
Constructor Details
-
MockRTMPSMinaIoHandler
public MockRTMPSMinaIoHandler()
-
-
Method Details
-
setHandler
Description copied from class:RTMPMinaIoHandler
Setter for handler.- Overrides:
setHandler
in classRTMPMinaIoHandler
- Parameters:
handler
- RTMP events handler
-
setKeystorePassword
Description copied from class:RTMPSMinaIoHandler
Password used to access the keystore file.- Overrides:
setKeystorePassword
in classRTMPSMinaIoHandler
- Parameters:
keystorePassword
- keystore password
-
setKeystoreFile
Description copied from class:RTMPSMinaIoHandler
Set keystore data from a file.- Overrides:
setKeystoreFile
in classRTMPSMinaIoHandler
- Parameters:
keystoreFile
- contains keystore
-
setTruststorePassword
Description copied from class:RTMPSMinaIoHandler
Password used to access the truststore file.- Overrides:
setTruststorePassword
in classRTMPSMinaIoHandler
- Parameters:
truststorePassword
- truststore password
-
setTruststoreFile
Description copied from class:RTMPSMinaIoHandler
Set truststore file path.- Overrides:
setTruststoreFile
in classRTMPSMinaIoHandler
- Parameters:
truststoreFile
- contains truststore
-
setCipherSuites
- Overrides:
setCipherSuites
in classRTMPSMinaIoHandler
-
setProtocols
- Overrides:
setProtocols
in classRTMPSMinaIoHandler
-
sessionCreated
Description copied from class:RTMPSMinaIoHandler
- Specified by:
sessionCreated
in interfaceorg.apache.mina.core.service.IoHandler
- Overrides:
sessionCreated
in classRTMPSMinaIoHandler
- Throws:
Exception
-