|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.james.test.mock.util.MockSpamd
public class MockSpamd
This class can be used to run a mocked SPAMD daemom
Field Summary | |
---|---|
static java.lang.String |
GTUBE
Mailcontent which is 100% spam |
static java.lang.String |
NOT_SPAM
|
static java.lang.String |
SPAM
|
Constructor Summary | |
---|---|
MockSpamd(int port)
Init the mocked SPAMD daemon |
Method Summary | |
---|---|
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String GTUBE
public static final java.lang.String NOT_SPAM
public static final java.lang.String SPAM
Constructor Detail |
---|
public MockSpamd(int port) throws java.io.IOException
port
- The port on which the mocked SPAMD daemon will be bind
java.io.IOException
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
Runnable.run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |