com.ericdaugherty.mail.server.services.smtp.support
Class AddDataLineDefault

java.lang.Object
  extended by com.ericdaugherty.mail.server.services.smtp.support.AddDataLineDefault
All Implemented Interfaces:
AddDataLine
Direct Known Subclasses:
AddDataLineDebug

public class AddDataLineDefault
extends java.lang.Object
implements AddDataLine

The basic class that adds data to an incoming stream.

Author:
Andreas Kyrmegalos

Field Summary
protected  SMTPMessage message
           
 
Constructor Summary
AddDataLineDefault(SMTPMessage message)
           
 
Method Summary
 void addDataLine(byte[] line)
           
 void flush()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

message

protected SMTPMessage message
Constructor Detail

AddDataLineDefault

public AddDataLineDefault(SMTPMessage message)
Method Detail

addDataLine

public void addDataLine(byte[] line)
                 throws java.io.IOException
Specified by:
addDataLine in interface AddDataLine
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Specified by:
flush in interface AddDataLine
Throws:
java.io.IOException