AsynchronousSocketChannel.Read AsynchronousSocketChannel.Read Method

Definition

Overloads

Read(ByteBuffer[], Int32, Int32, Int64, TimeUnit, Object, ICompletionHandler) Read(ByteBuffer[], Int32, Int32, Int64, TimeUnit, Object, ICompletionHandler)
Read(ByteBuffer, Int64, TimeUnit, Object, ICompletionHandler) Read(ByteBuffer, Int64, TimeUnit, Object, ICompletionHandler)
Read(ByteBuffer) Read(ByteBuffer)
Read(ByteBuffer, Object, ICompletionHandler) Read(ByteBuffer, Object, ICompletionHandler)

Read(ByteBuffer[], Int32, Int32, Int64, TimeUnit, Object, ICompletionHandler) Read(ByteBuffer[], Int32, Int32, Int64, TimeUnit, Object, ICompletionHandler)

[Android.Runtime.Register("read", "([Ljava/nio/ByteBuffer;IIJLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)V", "GetRead_arrayLjava_nio_ByteBuffer_IIJLjava_util_concurrent_TimeUnit_Ljava_lang_Object_Ljava_nio_channels_CompletionHandler_Handler")]
[Java.Interop.JavaTypeParameters(new System.String[] { "A" })]
public abstract void Read (Java.Nio.ByteBuffer[] dsts, int offset, int length, long timeout, Java.Util.Concurrent.TimeUnit unit, Java.Lang.Object attachment, Java.Nio.Channels.ICompletionHandler handler);
abstract member Read : Java.Nio.ByteBuffer[] * int * int * int64 * Java.Util.Concurrent.TimeUnit * Java.Lang.Object * Java.Nio.Channels.ICompletionHandler -> unit

Parameters

dsts
ByteBuffer[]
offset
Int32 Int32
length
Int32 Int32
timeout
Int64 Int64
attachment
Object Object

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Read(ByteBuffer, Int64, TimeUnit, Object, ICompletionHandler) Read(ByteBuffer, Int64, TimeUnit, Object, ICompletionHandler)

[Android.Runtime.Register("read", "(Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)V", "GetRead_Ljava_nio_ByteBuffer_JLjava_util_concurrent_TimeUnit_Ljava_lang_Object_Ljava_nio_channels_CompletionHandler_Handler")]
[Java.Interop.JavaTypeParameters(new System.String[] { "A" })]
public abstract void Read (Java.Nio.ByteBuffer dst, long timeout, Java.Util.Concurrent.TimeUnit unit, Java.Lang.Object attachment, Java.Nio.Channels.ICompletionHandler handler);
abstract member Read : Java.Nio.ByteBuffer * int64 * Java.Util.Concurrent.TimeUnit * Java.Lang.Object * Java.Nio.Channels.ICompletionHandler -> unit

Parameters

timeout
Int64 Int64
attachment
Object Object

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Read(ByteBuffer) Read(ByteBuffer)

[Android.Runtime.Register("read", "(Ljava/nio/ByteBuffer;)Ljava/util/concurrent/Future;", "GetRead_Ljava_nio_ByteBuffer_Handler")]
public abstract Java.Util.Concurrent.IFuture Read (Java.Nio.ByteBuffer dst);
abstract member Read : Java.Nio.ByteBuffer -> Java.Util.Concurrent.IFuture

Parameters

Returns

Implements

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Read(ByteBuffer, Object, ICompletionHandler) Read(ByteBuffer, Object, ICompletionHandler)

[Android.Runtime.Register("read", "(Ljava/nio/ByteBuffer;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)V", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "A" })]
public void Read (Java.Nio.ByteBuffer dst, Java.Lang.Object attachment, Java.Nio.Channels.ICompletionHandler handler);
abstract member Read : Java.Nio.ByteBuffer * Java.Lang.Object * Java.Nio.Channels.ICompletionHandler -> unit
override this.Read : Java.Nio.ByteBuffer * Java.Lang.Object * Java.Nio.Channels.ICompletionHandler -> unit

Parameters

attachment
Object Object

Implements

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to