A C D E F G H I M N P S T W

A

acceptMessage(EmailAddress, InetAddress, EmailAddress) - Method in interface com.goldeninnovations.smp.MessageFilter
Determines whether the email message (or the recipient if there are multiple to addresses specified) should be accepted.
acceptMessage(EmailAddress, InetAddress, EmailAddress) - Method in class com.goldeninnovations.smp.messagefilter.DefaultMessageFilter
Returns true for all legal email addresses.
acceptMessage(EmailAddress, InetAddress, EmailAddress) - Method in class com.goldeninnovations.smp.messagefilter.DomainMessageFilter
Returns true if the domain name of the recipient matches exactly with one of the domains specified in by the addDomain method (or constructor).
acceptMessage(EmailAddress, InetAddress, EmailAddress) - Method in class com.goldeninnovations.smp.messagefilter.MessageFilterChain
Checks with the MessageFilters and returns true only if they all accept the message
addDomain(String) - Method in class com.goldeninnovations.smp.messagefilter.DomainMessageFilter
Add any non-null domain to the accepted list.
addMessageFilter(MessageFilter) - Method in class com.goldeninnovations.smp.messagefilter.MessageFilterChain
Adds a new MessageFilter to the chain.
addMessageProcessor(MessageProcessor) - Method in class com.goldeninnovations.smp.messageprocessor.MessageProcessorChain
Adds a new MessageFilter to the chain.
addToAddress(EmailAddress) - Method in class com.goldeninnovations.smp.EmailMessage
Email addresses of the recipients specified by the remote SMPT server.

C

com.goldeninnovations.smp - package com.goldeninnovations.smp
 
com.goldeninnovations.smp.messagefilter - package com.goldeninnovations.smp.messagefilter
The messagefilter package provides several MessageFilter implementations that can be used in addition to or as an alternative to defining a custom MessageFilter implementation.
com.goldeninnovations.smp.messageprocessor - package com.goldeninnovations.smp.messageprocessor
The messageprocessor package provides several MessageProcessor implementations that can be used in addition to or as an alternative to defining a custom MessageProcessor implementation.
com.goldeninnovations.smp.messagespool - package com.goldeninnovations.smp.messagespool
 
connectionClosed(Connection) - Method in class com.goldeninnovations.smp.SMPServer
Remove closed Connections from the connectionMap
ConsoleMessageProcessor - Class in com.goldeninnovations.smp.messageprocessor
Writes all incoming emails to the console via System.out.
ConsoleMessageProcessor() - Constructor for class com.goldeninnovations.smp.messageprocessor.ConsoleMessageProcessor
 
createMessage() - Method in interface com.goldeninnovations.smp.MessageSpool
Factory method called when a new message is being processed.
createMessage() - Method in class com.goldeninnovations.smp.messagespool.MemoryMessageSpool
 

D

DefaultMessageFilter - Class in com.goldeninnovations.smp.messagefilter
A simple implementation of the MessageProcessor interface that accepts messages for all valid email addresses.
DefaultMessageFilter() - Constructor for class com.goldeninnovations.smp.messagefilter.DefaultMessageFilter
 
deSpoolMessage() - Method in interface com.goldeninnovations.smp.MessageSpool
Returns the newt EmailMessage in the spool.
deSpoolMessage() - Method in class com.goldeninnovations.smp.messagespool.MemoryMessageSpool
 
DomainMessageFilter - Class in com.goldeninnovations.smp.messagefilter
Accepts all valid email addresses to one of the specified domains.
DomainMessageFilter(String...) - Constructor for class com.goldeninnovations.smp.messagefilter.DomainMessageFilter
 

E

EmailAddress - Class in com.goldeninnovations.smp
Represents a single email address.
EmailAddress(String) - Constructor for class com.goldeninnovations.smp.EmailAddress
Parses the address to verify it is valid.
EmailMessage - Class in com.goldeninnovations.smp
Represents an incoming Email Message.
EmailMessage() - Constructor for class com.goldeninnovations.smp.EmailMessage
 
equals(Object) - Method in class com.goldeninnovations.smp.EmailAddress
 

F

FileMessageProcessor - Class in com.goldeninnovations.smp.messageprocessor
Writes all incoming messages to a text file in the specified directory.
FileMessageProcessor(File) - Constructor for class com.goldeninnovations.smp.messageprocessor.FileMessageProcessor
Creates a new FileMessageProcessor using the specified directory to output files.

G

getAttachmentFilename() - Method in class com.goldeninnovations.smp.MessagePart
If this MessagePart is an attachment, returns the name of the attached file.
getBody() - Method in class com.goldeninnovations.smp.MessagePart
Returns the body of the message part without any parsing or decoding.
getContentDescription() - Method in class com.goldeninnovations.smp.MessagePart
The value of the Content-Description header.
getContentDisposition() - Method in class com.goldeninnovations.smp.MessagePart
The value of the Content-Disposition header.
getContentTransferEncoding() - Method in class com.goldeninnovations.smp.MessagePart
The value of the Content-Transfer-Encoding header.
getContentType() - Method in class com.goldeninnovations.smp.EmailMessage
Returns the Content-Type for this email, if specified.
getContentType() - Method in class com.goldeninnovations.smp.MessagePart
The value of the Content-Type header.
getCurrentConnectionCount() - Method in class com.goldeninnovations.smp.SMPServer
 
getCurrentConnectionCount() - Method in interface com.goldeninnovations.smp.SMPServerMBean
The number of open connections
getDomain() - Method in class com.goldeninnovations.smp.EmailAddress
Returns the domain portion of the email address.
getFromAddress() - Method in class com.goldeninnovations.smp.EmailMessage
The email address of the sender specified by the remote SMTP server.
getFromHeader() - Method in class com.goldeninnovations.smp.EmailMessage
The value of the From header
getHeader(String) - Method in class com.goldeninnovations.smp.EmailMessage
Returns the value of first header found that matches the header name.
getHeader(String) - Method in class com.goldeninnovations.smp.MessagePart
Returns the value of first header found that matches the header name.
getHeaders() - Method in class com.goldeninnovations.smp.EmailMessage
Returns a collection of the headers from this message.
getHeaders(String) - Method in class com.goldeninnovations.smp.EmailMessage
Returns all of the values of the specified header name.
getMessageFilter() - Method in class com.goldeninnovations.smp.SMPServer
 
getMessagePart(int) - Method in class com.goldeninnovations.smp.EmailMessage
Returns the specified MessagePart
getMessagePartCount() - Method in class com.goldeninnovations.smp.EmailMessage
The number of MessageParts in this message.
getMessageParts() - Method in class com.goldeninnovations.smp.EmailMessage
A List of the MessageParts found in this message.
getMessageProcessor() - Method in class com.goldeninnovations.smp.SMPServer
 
getMessageSpool() - Method in class com.goldeninnovations.smp.SMPServer
The MessageSpool currently being used.
getMimeVersion() - Method in class com.goldeninnovations.smp.MessagePart
The value of the MIME-Version header.
getOutputFileName(EmailMessage) - Method in class com.goldeninnovations.smp.messageprocessor.FileMessageProcessor
Returns the filename to be used to write this file to disk.
getRawMessage() - Method in class com.goldeninnovations.smp.EmailMessage
The entire message as a single String.
getSenderInetAddress() - Method in class com.goldeninnovations.smp.EmailMessage
The Internet Address of the sending SMTP Server
getSubjectHeader() - Method in class com.goldeninnovations.smp.EmailMessage
The value of the Subject header.
getToAddress() - Method in class com.goldeninnovations.smp.EmailMessage
Email addresses of the recipients specified by the remote SMPT server.
getToHeader() - Method in class com.goldeninnovations.smp.EmailMessage
The value of the (first) To header
getToHeaders() - Method in class com.goldeninnovations.smp.EmailMessage
The values of all the To headers
getTotalConnectionCount() - Method in class com.goldeninnovations.smp.SMPServer
 
getTotalConnectionCount() - Method in interface com.goldeninnovations.smp.SMPServerMBean
The total number of connections made to SMPServer
getUserName() - Method in class com.goldeninnovations.smp.EmailAddress
Returns the userName portion of the email address.

H

hashCode() - Method in class com.goldeninnovations.smp.EmailAddress
 

I

isAttachment() - Method in class com.goldeninnovations.smp.MessagePart
True if this MessagePart is an attached file.
isMulitpartMessage() - Method in class com.goldeninnovations.smp.EmailMessage
Returns true if this message is a Multi-Part Message.

M

MemoryMessageSpool - Class in com.goldeninnovations.smp.messagespool
An in-memory blocking MessageSpool implementation.
MemoryMessageSpool() - Constructor for class com.goldeninnovations.smp.messagespool.MemoryMessageSpool
 
MessageFilter - Interface in com.goldeninnovations.smp
Allows incoming email messages to be filtered by the recipient's email address.
MessageFilterChain - Class in com.goldeninnovations.smp.messagefilter
Allows multiple MessageFilters to be chained together.
MessageFilterChain() - Constructor for class com.goldeninnovations.smp.messagefilter.MessageFilterChain
 
MessagePart - Class in com.goldeninnovations.smp
Represents a single message part of a multipart message.
MessageProcessor - Interface in com.goldeninnovations.smp
Implement this interface to receive incoming email messages for processing.
MessageProcessorChain - Class in com.goldeninnovations.smp.messageprocessor
Allows multiple MessageProcessors to be chained together.
MessageProcessorChain() - Constructor for class com.goldeninnovations.smp.messageprocessor.MessageProcessorChain
 
MessageSpool - Interface in com.goldeninnovations.smp
Implement this interface to provide a custom spooling implementation.
MultiThreadedMessageProcessor - Class in com.goldeninnovations.smp.messageprocessor
Creates a new thread to handle each new message.
MultiThreadedMessageProcessor(MessageProcessor) - Constructor for class com.goldeninnovations.smp.messageprocessor.MultiThreadedMessageProcessor
Creates a new MultiThreadedMessageProcessor that uses the specified processor to handle incoming messages on a new thread.

N

NoOpMessageProcessor - Class in com.goldeninnovations.smp.messageprocessor
Ignores all messages.
NoOpMessageProcessor() - Constructor for class com.goldeninnovations.smp.messageprocessor.NoOpMessageProcessor
 

P

processMessage(EmailMessage) - Method in class com.goldeninnovations.smp.messageprocessor.ConsoleMessageProcessor
 
processMessage(EmailMessage) - Method in class com.goldeninnovations.smp.messageprocessor.FileMessageProcessor
Writes the message to the output directory as an XML file.
processMessage(EmailMessage) - Method in class com.goldeninnovations.smp.messageprocessor.MessageProcessorChain
Sends the message to each of the MessageProcessors.
processMessage(EmailMessage) - Method in class com.goldeninnovations.smp.messageprocessor.MultiThreadedMessageProcessor
 
processMessage(EmailMessage) - Method in class com.goldeninnovations.smp.messageprocessor.NoOpMessageProcessor
 
processMessage(EmailMessage) - Method in interface com.goldeninnovations.smp.MessageProcessor
Called when an email message has been received and is ready for processing.
processMessage(EmailMessage) - Method in class com.goldeninnovations.smp.messageprocessor.Slf4jMessageProcessor
 

S

setFrom(EmailAddress) - Method in class com.goldeninnovations.smp.EmailMessage
The email address of the sender specified by the remote SMTP server.
setMessageFilter(MessageFilter) - Method in class com.goldeninnovations.smp.SMPServer
 
setMessageProcessor(MessageProcessor) - Method in class com.goldeninnovations.smp.SMPServer
 
setMessageSpool(MessageSpool) - Method in class com.goldeninnovations.smp.SMPServer
Sets the MessageSpool to use.
setPort(int) - Method in class com.goldeninnovations.smp.SMPServer
Sets the port that the Server will listen to SMTP connections on.
setRawMessage(String) - Method in class com.goldeninnovations.smp.EmailMessage
The entire message as a single String
setSenderInetAddress(InetAddress) - Method in class com.goldeninnovations.smp.EmailMessage
The Internet Address of the sending SMTP Server
Slf4jMessageProcessor - Class in com.goldeninnovations.smp.messageprocessor
Writes all incoming emails to the slf4j logger named: com.goldeninnovations.smp.messages at level INFO.
Slf4jMessageProcessor() - Constructor for class com.goldeninnovations.smp.messageprocessor.Slf4jMessageProcessor
 
SMPServer - Class in com.goldeninnovations.smp
Simple Message Processor Server
SMPServer(MessageProcessor) - Constructor for class com.goldeninnovations.smp.SMPServer
 
SMPServer(MessageSpool, MessageFilter, MessageProcessor) - Constructor for class com.goldeninnovations.smp.SMPServer
 
SMPServerMBean - Interface in com.goldeninnovations.smp
MBean Interface describing the management options for the SMPServer
spoolMessage(EmailMessage) - Method in class com.goldeninnovations.smp.messagespool.MemoryMessageSpool
 
spoolMessage(EmailMessage) - Method in interface com.goldeninnovations.smp.MessageSpool
Stores a new message in the spool.
startServer() - Method in class com.goldeninnovations.smp.SMPServer
Starts the Server.
startServer() - Method in interface com.goldeninnovations.smp.SMPServerMBean
Start the Server
stopServer() - Method in class com.goldeninnovations.smp.SMPServer
Stops the server and waits for the thread to end.
stopServer(long) - Method in class com.goldeninnovations.smp.SMPServer
Stops the server and waits for the thread to end.
stopServer() - Method in interface com.goldeninnovations.smp.SMPServerMBean
Stop the Server.

T

toString() - Method in class com.goldeninnovations.smp.EmailAddress
 

W

writeAttachment(OutputStream) - Method in class com.goldeninnovations.smp.MessagePart
Attempts to write the contents of this MessagePart to the specified OutputStream.

A C D E F G H I M N P S T W

Copyright © 2010 Eric Daugherty. All Rights Reserved.