Constructor and Description |
---|
DelimitedRecordChannel(CharacterChannel channel,
Format format) |
DelimitedRecordChannel(CharacterChannel channel,
String recordSeparator,
String fieldSeparator) |
Constructor and Description |
---|
CloseCharacterChannelEvent(CharacterChannel channel,
EventContext context) |
ReadCharactersEvent(CharacterChannel channel,
int numberOfCharacters) |
ReadCharactersEvent(CharacterChannel channel,
int numberOfCharacters,
EventContext context) |
WriteCharactersEvent(CharacterChannel channel,
String content,
int offset) |
WriteCharactersEvent(CharacterChannel channel,
String content,
int offset,
EventContext context) |
Constructor and Description |
---|
CharacterChannelReader(CharacterChannel channel) |
Modifier and Type | Method and Description |
---|---|
static void |
IOUtils.close(CharacterChannel charChannel,
EventContext eventContext,
Function<EventResult,EventResult> function)
Closes the character channel asynchronously.
|
static void |
IOUtils.read(CharacterChannel characterChannel,
int numberOfCharacters,
EventContext context,
Function<EventResult,EventResult> function)
Reads characters from the channel.
|
static void |
IOUtils.write(CharacterChannel characterChannel,
String content,
int offset,
EventContext context,
Function<EventResult,EventResult> function)
Writes characters 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.