public class RTMPSMinaIoHandler extends RTMPMinaIoHandler
var nc:NetConnection = new NetConnection(); nc.proxyType = "best"; nc.connect("rtmps:\\localhost\app");Originally created by: Kevin Green http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html http://java.sun.com/j2se/1.5.0/docs/guide/security/CryptoSpec.html#AppA http://java.sun.com/j2se/1.5.0/docs/api/java/security/KeyStore.html http://tomcat.apache.org/tomcat-3.3-doc/tomcat-ssl-howto.html
appCtx, handler, rtmpConnManager
Constructor and Description |
---|
RTMPSMinaIoHandler() |
Modifier and Type | Method and Description |
---|---|
void |
exceptionCaught(org.apache.mina.core.session.IoSession session,
Throwable cause) |
void |
sessionOpened(org.apache.mina.core.session.IoSession session) |
void |
setKeystoreBytes(byte[] arr)
Set keystore data from a file.
|
void |
setKeystoreFile(String path)
Set keystore data from a file.
|
void |
setKeyStorePassword(String password)
Password used to access the keystore file.
|
void |
setKeyStoreType(String keyStoreType)
Set the key store type, JKS or PKCS12.
|
createRTMPMinaConnection, getRtmpConnManager, messageReceived, messageSent, rawBufferRecieved, sessionClosed, sessionCreated, setApplicationContext, setHandler, setRtmpConnManager
public void sessionOpened(org.apache.mina.core.session.IoSession session) throws Exception
sessionOpened
in interface org.apache.mina.core.service.IoHandler
sessionOpened
in class RTMPMinaIoHandler
Exception
public void exceptionCaught(org.apache.mina.core.session.IoSession session, Throwable cause) throws Exception
exceptionCaught
in interface org.apache.mina.core.service.IoHandler
exceptionCaught
in class RTMPMinaIoHandler
Exception
public void setKeyStorePassword(String password)
password
- public void setKeystoreFile(String path)
path
- contains keystorepublic void setKeystoreBytes(byte[] arr)
arr
- keystore bytespublic void setKeyStoreType(String keyStoreType)
keyStoreType
- Copyright © 2006-2012 The Red5 Project