public class Mailer extends org.nustaq.kontraktor.Actor<Mailer>
__cbQueue, __clientConnection, __connections, __currentDispatcher, __mailbox, __mailboxCapacity, __mbCapacity, __publishTarget, __remoteId, __scheduler, __self, __stopped, __ticketMachine, connection, sender, userData, zzRoutingGCEnabled, zzServerMsgCallback| Constructor and Description |
|---|
Mailer() |
| Modifier and Type | Method and Description |
|---|---|
static Mailer |
get() |
void |
init(MailCfg conf) |
static void |
initSingleton(MailCfg settings) |
org.nustaq.kontraktor.IPromise<Boolean> |
sendMail(String receiver,
String subject,
String content,
String displayName) |
void |
updateSettings(MailCfg conf) |
__addDeadLetter, __addRemoteConnection, __addStopHandler, __dispatchRemoteCall, __enqueueCall, __getCachedMethod, __removeRemoteConnection, __stop, __stopImpl, __submit, ask, askMsg, asyncstop, checkThread, close, closeCurrentClient, current, cyclic, delayed, execInThreadPool, execute, getActor, getActorRef, getCallbackSize, getConnections, getCurrentDispatcher, getFactory, getMailboxSize, getQSizes, getReport, getScheduler, getSubMonitorables, getUntypedRef, hasStopped, inside, inThread, isCallbackQPressured, isEmpty, isMailboxPressured, isProxy, isPublished, isRemote, isStopped, ping, router$clientPing, self, serialOn, setServerMsgCallback, stop, stopSafeClose, tell, tellMsg, unpublish, zzkrouterLostClient, zzRoutingRefGCAddDeadLetter, all, all, all, allMapped, AsActor, AsActor, AsActor, AsActor, AsUntypedActor, awaitAll, awaitAll, awaitAll, awaitAll, complete, complete, DeadLetters, flow, InThread, isComplete, isCont, isError, isErrorOrComplete, isResult, isTimeout, promise, race, race, reject, resolve, resolve, stream, SubmitDelayed, yield, yield, yieldCallbackspublic static void initSingleton(MailCfg settings)
public static Mailer get()
public void init(MailCfg conf)
public void updateSettings(MailCfg conf)
public org.nustaq.kontraktor.IPromise<Boolean> sendMail(String receiver, String subject, String content, String displayName)
receiver - - the mail receiversubject - - subject of the mailcontent - - mail contentdisplayName - - display name shown instead of the sender email ..Copyright © 2018. All rights reserved.