unsw.cse.mica.blackboard.transport.secure
Class SSLBlackboardAgentConnection

java.lang.Object
  extended by unsw.cse.mica.blackboard.transport.secure.SSLBlackboardAgentConnection
All Implemented Interfaces:
BlackboardAgentConnection

public class SSLBlackboardAgentConnection
extends java.lang.Object
implements BlackboardAgentConnection


Constructor Summary
SSLBlackboardAgentConnection(javax.net.ssl.SSLSocket socket)
           
 
Method Summary
 void close()
          Close the connection to this agent
 java.io.InputStream getInputStream()
          Get the input stream associated with this connection
 java.io.OutputStream getOutputStream()
          Get the output stream associated with this agent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLBlackboardAgentConnection

public SSLBlackboardAgentConnection(javax.net.ssl.SSLSocket socket)
Method Detail

close

public void close()
           throws TransportException
Description copied from interface: BlackboardAgentConnection
Close the connection to this agent

Specified by:
close in interface BlackboardAgentConnection
Throws:
TransportException

getInputStream

public java.io.InputStream getInputStream()
                                   throws TransportException
Description copied from interface: BlackboardAgentConnection
Get the input stream associated with this connection

Specified by:
getInputStream in interface BlackboardAgentConnection
Returns:
the input stream associated with this connection
Throws:
TransportException - If the outputstream cannot be obtained for some reason

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws TransportException
Description copied from interface: BlackboardAgentConnection
Get the output stream associated with this agent

Specified by:
getOutputStream in interface BlackboardAgentConnection
Returns:
the output stream associated with this connection
Throws:
TransportException - If the outputstream cannot be obtained for some reason