public class VXStoreClient extends java.lang.Object implements IAsyncStoreClient
Modifier and Type | Class and Description |
---|---|
static class |
VXStoreClient.Decoder |
Constructor and Description |
---|
VXStoreClient(IConnectionSupport conSupport,
java.lang.String host,
int port,
java.lang.String login,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<ImapResponseStatus<AppendResponse>> |
append(java.lang.String mailbox,
java.util.Date receivedDate,
java.util.Collection<java.lang.String> flags,
int streamSize,
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> eml) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
close() |
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> |
fetch(long uid,
java.lang.String part,
VXStoreClient.Decoder dec) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
fetch(long uid,
java.lang.String part,
io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> target,
VXStoreClient.Decoder dec) |
boolean |
isClosed() |
java.util.concurrent.CompletableFuture<ImapResponseStatus<java.lang.Void>> |
login() |
java.util.concurrent.CompletableFuture<ImapResponseStatus<SelectResponse>> |
select(java.lang.String mailbox) |
public VXStoreClient(IConnectionSupport conSupport, java.lang.String host, int port, java.lang.String login, java.lang.String password)
public java.util.concurrent.CompletableFuture<ImapResponseStatus<java.lang.Void>> login()
public java.util.concurrent.CompletableFuture<ImapResponseStatus<SelectResponse>> select(java.lang.String mailbox)
select
in interface IAsyncStoreClient
public java.util.concurrent.CompletableFuture<java.lang.Void> fetch(long uid, java.lang.String part, io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> target, VXStoreClient.Decoder dec)
fetch
in interface IAsyncStoreClient
public io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> fetch(long uid, java.lang.String part, VXStoreClient.Decoder dec)
fetch
in interface IAsyncStoreClient
public java.util.concurrent.CompletableFuture<ImapResponseStatus<AppendResponse>> append(java.lang.String mailbox, java.util.Date receivedDate, java.util.Collection<java.lang.String> flags, int streamSize, io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> eml)
append
in interface IAsyncStoreClient
public java.util.concurrent.CompletableFuture<java.lang.Void> close()
close
in interface IAsyncStoreClient
public boolean isClosed()
isClosed
in interface IAsyncStoreClient
Copyright © 2021. All Rights Reserved.