|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.transport.sslHttpBase.TransportImpl
cgl.narada.transport.ssl.SSLTransportJSSEImpl
public class SSLTransportJSSEImpl
| Field Summary |
|---|
| Fields inherited from class cgl.narada.transport.sslHttpBase.TransportImpl |
|---|
m_host, m_ioerror, m_localhost, m_port, m_receiveQueue, m_sendQueue, m_sslFactory, m_statusInterval, proxyInfo, proxyTunnel |
| Fields inherited from interface cgl.narada.transport.ssl.SSLTransport |
|---|
DEFAULT_SSL_PORT |
| Constructor Summary | |
|---|---|
|
SSLTransportJSSEImpl()
------------------------------------------------------------------- |
protected |
SSLTransportJSSEImpl(Socket socket)
------------------------------------------------------------------- Used when an SSL transport end point is accepted rather than initiated. |
| Method Summary | |
|---|---|
void |
connect()
------------------------------------------------------------------- |
void |
connect(String host)
------------------------------------------------------------------- |
void |
connect(String host,
int port)
------------------------------------------------------------------- |
void |
disconnect()
------------------------------------------------------------------- |
String |
getType()
------------------------------------------------------------------- |
protected void |
handleReceiveException(Exception e)
------------------------------------------------------------------- |
protected void |
handleSendException(Exception e)
------------------------------------------------------------------- |
boolean |
isConnected()
------------------------------------------------------------------- |
boolean |
isInErrorState()
------------------------------------------------------------------- |
boolean |
isSecure()
------------------------------------------------------------------- |
protected byte[] |
receiveDataImmediately()
------------------------------------------------------------------- |
protected void |
sendDataImmediately(byte[] message)
------------------------------------------------------------------- |
void |
setProperties(Properties properties)
------------------------------------------------------------------- Properties Recognized: host - The desitnation end point host port - The destination end point port. |
void |
setTransportDataListener(TransportDataListener l)
------------------------------------------------------------------- |
void |
startThreads()
------------------------------------------------------------------- |
void |
stopThreads()
------------------------------------------------------------------- |
protected void |
throwBadConnectionException()
------------------------------------------------------------------- |
String |
toString()
------------------------------------------------------------------- |
| Methods inherited from class cgl.narada.transport.sslHttpBase.TransportImpl |
|---|
getStatusCheckInterval, handleTransportSystemMessage, receiveData, receiveData, sendData, setStatusCheckInterval, setupSSL |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface cgl.narada.transport.sslHttpBase.Transport |
|---|
getStatusCheckInterval, receiveData, receiveData, sendData, setStatusCheckInterval |
| Constructor Detail |
|---|
public SSLTransportJSSEImpl()
protected SSLTransportJSSEImpl(Socket socket)
| Method Detail |
|---|
public void setProperties(Properties properties)
TransportImpl
setProperties in interface TransportsetProperties in class TransportImpl
public void startThreads()
throws IOException
startThreads in class TransportImplIOException
public void stopThreads()
throws IOException
stopThreads in class TransportImplIOExceptionpublic void setTransportDataListener(TransportDataListener l)
setTransportDataListener in interface TransportsetTransportDataListener in class TransportImplpublic boolean isConnected()
isConnected in interface Transportpublic boolean isInErrorState()
isInErrorState in interface Transportpublic String getType()
getType in interface Transport
public void connect()
throws TransportException
connect in interface TransportTransportException
public void connect(String host,
int port)
throws TransportException
connect in interface SSLTransportTransportException
public void connect(String host)
throws TransportException
connect in interface SSLTransportTransportException
public void disconnect()
throws IOException
disconnect in interface TransportIOExceptionpublic boolean isSecure()
isSecure in interface Transportpublic String toString()
toString in class Object
protected void throwBadConnectionException()
throws IOException
IOException
protected void sendDataImmediately(byte[] message)
throws IOException
sendDataImmediately in class TransportImplIOException
protected byte[] receiveDataImmediately()
throws IOException
receiveDataImmediately in class TransportImplIOExceptionprotected void handleReceiveException(Exception e)
handleReceiveException in class TransportImplprotected void handleSendException(Exception e)
handleSendException in class TransportImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||