Constructor and Description |
---|
CloseByteChannelEvent(Channel channel,
EventContext context) |
ReadBytesEvent(Channel channel,
byte[] content,
EventContext context) |
WriteBytesEvent(Channel byteChannel,
byte[] content,
int startOffset,
EventContext context) |
Constructor and Description |
---|
CloseCharacterChannelEvent(CharacterChannel channel,
EventContext context) |
ReadCharactersEvent(CharacterChannel channel,
int numberOfCharacters,
EventContext context) |
WriteCharactersEvent(CharacterChannel channel,
String content,
int offset,
EventContext context) |
Constructor and Description |
---|
CloseDelimitedRecordEvent(DelimitedRecordChannel channel,
EventContext context) |
DelimitedRecordReadAllEvent(DelimitedRecordChannel channel,
EventContext context) |
DelimitedRecordReadEvent(DelimitedRecordChannel channel,
EventContext context) |
DelimitedRecordWriteEvent(DelimitedRecordChannel channel,
BStringArray content,
EventContext context) |
HasNextDelimitedRecordEvent(DelimitedRecordChannel channel,
EventContext context) |
Modifier and Type | Method and Description |
---|---|
EventContext |
ListResult.getContext() |
EventContext |
AlphaResult.getContext() |
EventContext |
BooleanResult.getContext() |
EventContext |
NumericResult.getContext() |
EventContext |
AlphaCollectionResult.getContext() |
Constructor and Description |
---|
AlphaCollectionResult(EventContext context) |
AlphaCollectionResult(String[] response,
EventContext context) |
AlphaResult(EventContext context) |
AlphaResult(String content,
EventContext context) |
BooleanResult(boolean result,
EventContext context) |
BooleanResult(EventContext context) |
ListResult(EventContext context) |
ListResult(List response,
EventContext context) |
NumericResult(EventContext context) |
NumericResult(int count,
EventContext context) |
Modifier and Type | Method and Description |
---|---|
static void |
IOUtils.close(Channel byteChannel,
EventContext eventContext,
Function<EventResult,EventResult> function)
Closes the channel asynchronously.
|
static void |
IOUtils.close(CharacterChannel charChannel,
EventContext eventContext,
Function<EventResult,EventResult> function)
Closes the character channel asynchronously.
|
static void |
IOUtils.close(DelimitedRecordChannel charChannel,
EventContext eventContext,
Function<EventResult,EventResult> function)
Closes the delimited record channel asynchronously.
|
static void |
IOUtils.read(Channel channel,
byte[] content,
EventContext context,
Function<EventResult,EventResult> function)
Reads bytes asynchronously and trigger the callback.
|
static void |
IOUtils.read(CharacterChannel characterChannel,
int numberOfCharacters,
EventContext context,
Function<EventResult,EventResult> function)
Reads characters from the channel.
|
static void |
IOUtils.read(DelimitedRecordChannel recordChannel,
EventContext context,
Function<EventResult,EventResult> function)
Reads delimited records asynchronously.
|
static int |
IOUtils.readFull(Channel channel,
byte[] content,
EventContext context)
Asynchronously reads bytes from the channel.
|
static void |
IOUtils.write(Channel channel,
byte[] content,
int offset,
EventContext context,
Function<EventResult,EventResult> function)
Writes bytes to a channel asynchronously.
|
static void |
IOUtils.write(CharacterChannel characterChannel,
String content,
int offset,
EventContext context,
Function<EventResult,EventResult> function)
Writes characters to a channel.
|
static void |
IOUtils.write(DelimitedRecordChannel recordChannel,
BStringArray records,
EventContext context,
Function<EventResult,EventResult> function)
Asynchronously writes delimited records to the channel.
|
static int |
IOUtils.writeFull(Channel channel,
byte[] content,
int offset,
EventContext context)
Asynchronously writes bytes to a channel.
|
static void |
IOUtils.writeFull(CharacterChannel characterChannel,
String payload,
EventContext eventContext)
Writes the whole payload to the channel.
|
Copyright © 2018 WSO2. All rights reserved.