Neokernel API

Emailer Members

Emailer overview

Public Instance Constructors

Emailer Constructor Setup with default SMTP server, instantiates a new messages Vector and starts thread. The Emailer uses SocketManager Sockets.

Public Instance Properties

Instance (inherited from ThreadClass) Gets the current thread instance
IsAlive (inherited from ThreadClass) Gets a value indicating the execution status of the current thread
IsBackground (inherited from ThreadClass) Gets or sets a value indicating whether or not a thread is a background thread.
Name (inherited from ThreadClass) Gets or sets the name of the thread
Priority (inherited from ThreadClass) Gets or sets a value indicating the scheduling priority of a thread

Public Instance Methods

Abort (inherited from ThreadClass)Overloaded. Raises a ThreadAbortException in the thread on which it is invoked, to begin the process of terminating the thread. Calling this method usually terminates the thread
Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
Interrupt (inherited from ThreadClass) Interrupts a thread that is in the WaitSleepJoin thread state.
Join (inherited from ThreadClass)Overloaded. Blocks the calling thread until a thread terminates
print Print method.
Resume (inherited from ThreadClass) Resumes a thread that has been suspended
Runinfinite loop, every 5 seconds it checks vector for IMessages. If found, sends them
send Puts IMessage into the Vector of messages to be sent.
Start (inherited from ThreadClass) Causes the operating system to change the state of the current thread instance to ThreadState.Running
Suspend (inherited from ThreadClass) Suspends the thread, if the thread is already suspended it has no effect
ToString (inherited from ThreadClass) Obtain a String that represents the current Object

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

Emailer Class | com.neokernel.email Namespace