net.officefloor.plugin.socket.server.ssl
Interface SslConnection

All Superinterfaces:
Connection
All Known Implementing Classes:
SslConnectionImpl

public interface SslConnection
extends Connection

Secure Socket Layer (SSL) Connection.

Author:
Daniel Sagenschneider

Method Summary
 void processDataFromPeer()
           Should data be available from the peer this triggers processing it to make it available for input.
 void validate()
          Ensures the SslConnection is valid.
 
Methods inherited from interface net.officefloor.plugin.socket.server.Connection
getInputBufferStream, getLocalAddress, getLock, getOutputBufferStream, getRemoteAddress, isSecure
 

Method Detail

processDataFromPeer

void processDataFromPeer()
                         throws IOException

Should data be available from the peer this triggers processing it to make it available for input.

This is necessary as the SslConnection needs to be made aware when further data is available from the peer, so that it can either:

  1. further a handshake to completion, or
  2. transform the cipher text into plain text available for application input

Throws:
IOException - If fails to process the data from peer.

validate

void validate()
              throws IOException
Ensures the SslConnection is valid.

Throws:
IOException - IOException of the cause of this SslConnection being invalid.


Copyright © 2005-2011. All Rights Reserved.