|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
com.planet_ink.coffee_mud.core.smtp.SMTPserver
public class SMTPserver
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static float |
HOST_VERSION_MAJOR
|
static float |
HOST_VERSION_MINOR
|
static CMProps |
iniPage
|
boolean |
isOK
|
long |
lastAllProcessing
|
CMProps |
page
|
static java.lang.String |
ServerVersionString
|
java.net.ServerSocket |
servsock
|
long |
tickStatus
|
static java.util.Hashtable |
webMacros
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
SMTPserver()
|
|
SMTPserver(MudHost a_mud)
|
|
| Method Summary | |
|---|---|
int |
compareTo(CMObject o)
|
CMObject |
copyOf()
Similar to Cloneable.clone(), but does its best to make sure that any internal objects to this class are also copyOfed. |
java.lang.String |
domainName()
|
java.lang.String |
getAnEmailJournal(java.lang.String journal)
|
java.util.Properties |
getCommonPropPage()
|
int |
getEmailDays()
|
int |
getFailureDays()
|
java.lang.String |
getJournalCriteria(java.lang.String journal)
|
int |
getJournalDays()
|
java.util.Hashtable |
getMailingLists(java.util.Hashtable oldH)
|
int |
getMaxMsgs()
|
long |
getMaxMsgSize()
|
MudHost |
getMUD()
|
long |
getTickStatus()
A coded status for this object during the period where its tick method is being called. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
void |
initializeClass()
Called ONCE after all objects are loaded, but before the map is read in during initialization. |
protected boolean |
initServer()
|
void |
interrupt()
|
boolean |
isAForwardingJournal(java.lang.String journal)
|
boolean |
isAKeepAllJournal(java.lang.String journal)
|
boolean |
isASubscribeOnlyJournal(java.lang.String journal)
|
protected boolean |
loadPropPage()
|
java.lang.String |
mailboxName()
|
java.lang.String |
name()
The nice displayable name of this instance of this object |
CMObject |
newInstance()
Returns a new instance of this class. |
void |
processEmails(java.util.Vector emails,
java.lang.String overrideReplyTo,
boolean usePrivateRules)
|
protected boolean |
rightTimeToSendEmail(long email)
|
void |
run()
|
void |
shutdown()
|
void |
shutdown(Session S)
|
boolean |
tick(Tickable ticking,
int tickID)
this is the method which is called periodically by the threading engine. |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public long tickStatus
public long lastAllProcessing
public CMProps page
public static final float HOST_VERSION_MAJOR
public static final float HOST_VERSION_MINOR
public static java.util.Hashtable webMacros
public static CMProps iniPage
public java.net.ServerSocket servsock
public boolean isOK
public static final java.lang.String ServerVersionString
| Constructor Detail |
|---|
public SMTPserver()
public SMTPserver(MudHost a_mud)
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectpublic java.lang.String name()
Tickable
name in interface Tickablepublic CMObject newInstance()
CMObject
newInstance in interface CMObjectpublic void initializeClass()
CMObject
initializeClass in interface CMObjectpublic CMObject copyOf()
CMObject
copyOf in interface CMObjectpublic int compareTo(CMObject o)
compareTo in interface java.lang.Comparable<CMObject>public long getTickStatus()
Tickable
getTickStatus in interface TickableTickable.tick(Tickable, int)public MudHost getMUD()
public java.lang.String domainName()
public java.lang.String mailboxName()
public java.util.Properties getCommonPropPage()
protected boolean initServer()
public java.lang.String getAnEmailJournal(java.lang.String journal)
public boolean isAForwardingJournal(java.lang.String journal)
public boolean isASubscribeOnlyJournal(java.lang.String journal)
public boolean isAKeepAllJournal(java.lang.String journal)
public java.lang.String getJournalCriteria(java.lang.String journal)
protected boolean loadPropPage()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void shutdown(Session S)
public void shutdown()
protected boolean rightTimeToSendEmail(long email)
public java.util.Hashtable getMailingLists(java.util.Hashtable oldH)
public boolean tick(Tickable ticking,
int tickID)
Tickable
tick in interface Tickableticking - a reference to this Tickable objecttickID - the TICKID_ constant describing this periodic call, as defined in Tickable
Tickable,
ServiceEngine,
TickableGroup
public void processEmails(java.util.Vector emails,
java.lang.String overrideReplyTo,
boolean usePrivateRules)
public void interrupt()
interrupt in class java.lang.Threadpublic int getMaxMsgs()
public int getEmailDays()
public int getJournalDays()
public int getFailureDays()
public long getMaxMsgSize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||