|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.james.mpt.DiscardProtocol
public class DiscardProtocol
Simple RFC 863 implementation.
Nested Class Summary | |
---|---|
static interface |
DiscardProtocol.Record
|
Constructor Summary | |
---|---|
DiscardProtocol(int port)
|
Method Summary | |
---|---|
DiscardProtocol.Record |
recordNext()
|
void |
start()
Starts serving. |
void |
stop()
Stops serving. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DiscardProtocol(int port)
Method Detail |
---|
public void start() throws java.io.IOException
java.io.IOException
- when connection fails
java.lang.IllegalStateException
- when already startedpublic DiscardProtocol.Record recordNext()
public void stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |