org.subethamail.smtp.server
Interface ConnectionContext

All Superinterfaces:
BaseContext
All Known Implementing Classes:
ConnectionHandler.Context

public interface ConnectionContext
extends BaseContext

This context is used for managing information about a connection.

Author:
Jon Stevens, De Oliveira Edouard <doe_wanted@yahoo.fr>

Method Summary
 org.apache.mina.common.IoSession getIOSession()
           
 Session getSession()
           
 void sendResponse(java.lang.String response)
           
 void setCredential(Credential cred)
           
 
Methods inherited from interface org.subethamail.smtp.server.BaseContext
getInputStream, getRemoteAddress, getSMTPServer
 

Method Detail

getIOSession

org.apache.mina.common.IoSession getIOSession()

getSession

Session getSession()

sendResponse

void sendResponse(java.lang.String response)
                  throws java.io.IOException
Throws:
java.io.IOException

setCredential

void setCredential(Credential cred)


Copyright © 2011 SubEthaSMTP. All Rights Reserved. Build version: UNVERSIONED