Inherits Org.Apache.REEF.Wake.Remote.IDataWriter.
|
| StreamDataWriter (Stream stream) |
| Constructs the StreamDataReader More...
|
|
void | WriteDouble (double obj) |
| write double More...
|
|
void | WriteFloat (float obj) |
| write float More...
|
|
void | WriteLong (long obj) |
| write long More...
|
|
void | WriteBoolean (bool obj) |
| write boolean More...
|
|
void | WriteInt32 (int obj) |
| write integer More...
|
|
void | WriteInt16 (short obj) |
| write short More...
|
|
void | WriteString (string obj) |
| write string More...
|
|
void | Write (byte[] buffer, int index, int count) |
| write bytes to the byte array More...
|
|
async Task | WriteDoubleAsync (double obj, CancellationToken token) |
| write double asynchronously More...
|
|
async Task | WriteFloatAsync (float obj, CancellationToken token) |
| write float asynchronously More...
|
|
async Task | WriteLongAsync (long obj, CancellationToken token) |
| write long asynchronously More...
|
|
async Task | WriteBooleanAsync (bool obj, CancellationToken token) |
| write bool asynchronously More...
|
|
async Task | WriteInt32Async (int obj, CancellationToken token) |
| write integer asynchronously More...
|
|
async Task | WriteInt16Async (short obj, CancellationToken token) |
| write short asynchronously More...
|
|
async Task | WriteStringAsync (string obj, CancellationToken token) |
| write string asynchronously More...
|
|
async Task | WriteAsync (byte[] buffer, int index, int count, CancellationToken token) |
| write bytes to the byte array asynchronously More...
|
|
Org.Apache.REEF.Wake.Remote.Impl.StreamDataWriter.StreamDataWriter |
( |
Stream |
stream | ) |
|
|
inline |
void Org.Apache.REEF.Wake.Remote.Impl.StreamDataWriter.Write |
( |
byte[] |
buffer, |
|
|
int |
index, |
|
|
int |
count |
|
) |
| |
|
inline |
async Task Org.Apache.REEF.Wake.Remote.Impl.StreamDataWriter.WriteAsync |
( |
byte[] |
buffer, |
|
|
int |
index, |
|
|
int |
count, |
|
|
CancellationToken |
token |
|
) |
| |
|
inline |
write bytes to the byte array asynchronously
- Parameters
-
buffer | byte array from which to read |
index | starting index in the array |
count | number of bytes to write |
token | Cancellation token |
- Returns
- the handler to the task
Implements Org.Apache.REEF.Wake.Remote.IDataWriter.
void Org.Apache.REEF.Wake.Remote.Impl.StreamDataWriter.WriteBoolean |
( |
bool |
obj | ) |
|
|
inline |
async Task Org.Apache.REEF.Wake.Remote.Impl.StreamDataWriter.WriteBooleanAsync |
( |
bool |
obj, |
|
|
CancellationToken |
token |
|
) |
| |
|
inline |
void Org.Apache.REEF.Wake.Remote.Impl.StreamDataWriter.WriteDouble |
( |
double |
obj | ) |
|
|
inline |
async Task Org.Apache.REEF.Wake.Remote.Impl.StreamDataWriter.WriteDoubleAsync |
( |
double |
obj, |
|
|
CancellationToken |
token |
|
) |
| |
|
inline |
void Org.Apache.REEF.Wake.Remote.Impl.StreamDataWriter.WriteFloat |
( |
float |
obj | ) |
|
|
inline |
async Task Org.Apache.REEF.Wake.Remote.Impl.StreamDataWriter.WriteFloatAsync |
( |
float |
obj, |
|
|
CancellationToken |
token |
|
) |
| |
|
inline |
void Org.Apache.REEF.Wake.Remote.Impl.StreamDataWriter.WriteInt16 |
( |
short |
obj | ) |
|
|
inline |
async Task Org.Apache.REEF.Wake.Remote.Impl.StreamDataWriter.WriteInt16Async |
( |
short |
obj, |
|
|
CancellationToken |
token |
|
) |
| |
|
inline |
void Org.Apache.REEF.Wake.Remote.Impl.StreamDataWriter.WriteInt32 |
( |
int |
obj | ) |
|
|
inline |
async Task Org.Apache.REEF.Wake.Remote.Impl.StreamDataWriter.WriteInt32Async |
( |
int |
obj, |
|
|
CancellationToken |
token |
|
) |
| |
|
inline |
void Org.Apache.REEF.Wake.Remote.Impl.StreamDataWriter.WriteLong |
( |
long |
obj | ) |
|
|
inline |
async Task Org.Apache.REEF.Wake.Remote.Impl.StreamDataWriter.WriteLongAsync |
( |
long |
obj, |
|
|
CancellationToken |
token |
|
) |
| |
|
inline |
void Org.Apache.REEF.Wake.Remote.Impl.StreamDataWriter.WriteString |
( |
string |
obj | ) |
|
|
inline |
async Task Org.Apache.REEF.Wake.Remote.Impl.StreamDataWriter.WriteStringAsync |
( |
string |
obj, |
|
|
CancellationToken |
token |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: