public class OMailTransport extends Object implements ITransport
| Modifier and Type | Field and Description |
|---|---|
static int |
CONNECTION_ATTEMPTS |
| Constructor and Description |
|---|
OMailTransport(com.orientechnologies.orient.core.record.impl.ODocument transportDocument) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected javax.mail.Session |
createSession(OMailSettings settings,
Properties properties) |
void |
send(com.orientechnologies.orient.core.record.impl.ODocument notification) |
public static final int CONNECTION_ATTEMPTS
public OMailTransport(com.orientechnologies.orient.core.record.impl.ODocument transportDocument)
public void send(com.orientechnologies.orient.core.record.impl.ODocument notification)
send in interface ITransportpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionprotected javax.mail.Session createSession(OMailSettings settings, Properties properties)
Copyright © 2020. All rights reserved.