au.edu.swin.synergy.plugin.smtpsvr
Class  BSmtpSvr
java.lang.Object
  |
  +--au.edu.swin.synergy.kernel.BPlugin
        |
        +--au.edu.swin.synergy.plugin.smtpsvr.BSmtpSvr
- public class BSmtpSvr
- extends BPlugin
  
BSmtpSvr acts as the server for outgoing SMTP mail distribution for
 cohesion clients
- Author: 
 - Matthew Evans
 Please complete these missing tags
 
- Copyright Belongs To:
 -  
 
| Fields inherited from class au.edu.swin.synergy.kernel.BPlugin | 
kernel | 
 
 
| 
Method Summary | 
 void | 
onBCommandEvent(Object source,
                BCommandEvent event)
 
          Listens for mail events, and if one is detected, the event is forwarded
 to the sendMessage() | 
 void | 
sendMessage(BMessage mailData)
 
          Send the message to any email receivers in te mail event | 
 void | 
setup(BStringList params)
 
          Creates a BSmtp object to send messages through
 Please complete the missing tags for setup | 
 
| Methods inherited from class au.edu.swin.synergy.kernel.BPlugin | 
dispatchEvent, 
dispatchEventAndWait, 
dispatchEventServer, 
dispatchEventServerAndWait, 
dispatchEventTo, 
dispatchEventToAndWait, 
getDependancies, 
getKernel, 
setKernel, 
setup, 
unload | 
 
| Methods inherited from class java.lang.Object | 
clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
toString, 
wait, 
wait, 
wait | 
 
BSmtpSvr
public BSmtpSvr()
setup
public void setup(BStringList params)
- Creates a BSmtp object to send messages through
 Please complete the missing tags for setup
- Parameters:
  -  - Returns:
 -  
 - Overrides:
 - setup in class BPlugin
 - Pre Condition:
 -  
 - Post Condition:
 -  
 
 
 
onBCommandEvent
public void onBCommandEvent(Object source,
                            BCommandEvent event)
- Listens for mail events, and if one is detected, the event is forwarded
 to the sendMessage()
- Parameters:
 the - source of the command eventthe - event
 Please complete the missing tags for onBCommandEvent- Returns:
 -  
 - Overrides:
 - onBCommandEvent in class BPlugin
 - Pre Condition:
 -  
 - Post Condition:
 -  
 
 
 
sendMessage
public void sendMessage(BMessage mailData)
- Send the message to any email receivers in te mail event
- Parameters:
 the - mail event containing the message information
 Please complete the missing tags for sendMessage- Returns:
 -  
 - Pre Condition:
 -  
 - Post Condition:
 -