AsynchronousSocketChannel.Write AsynchronousSocketChannel.Write Method

Definition

Overloads

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

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

[Android.Runtime.Register("write", "(Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)V", "GetWrite_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 Write (Java.Nio.ByteBuffer src, long timeout, Java.Util.Concurrent.TimeUnit unit, Java.Lang.Object attachment, Java.Nio.Channels.ICompletionHandler handler);
abstract member Write : 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.

Write(ByteBuffer) Write(ByteBuffer)

[Android.Runtime.Register("write", "(Ljava/nio/ByteBuffer;)Ljava/util/concurrent/Future;", "GetWrite_Ljava_nio_ByteBuffer_Handler")]
public abstract Java.Util.Concurrent.IFuture Write (Java.Nio.ByteBuffer src);
abstract member Write : 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.

Write(ByteBuffer, Object, ICompletionHandler) Write(ByteBuffer, Object, ICompletionHandler)

[Android.Runtime.Register("write", "(Ljava/nio/ByteBuffer;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)V", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "A" })]
public void Write (Java.Nio.ByteBuffer src, Java.Lang.Object attachment, Java.Nio.Channels.ICompletionHandler handler);
abstract member Write : Java.Nio.ByteBuffer * Java.Lang.Object * Java.Nio.Channels.ICompletionHandler -> unit
override this.Write : 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.

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

[Android.Runtime.Register("write", "([Ljava/nio/ByteBuffer;IIJLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)V", "GetWrite_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 Write (Java.Nio.ByteBuffer[] srcs, int offset, int length, long timeout, Java.Util.Concurrent.TimeUnit unit, Java.Lang.Object attachment, Java.Nio.Channels.ICompletionHandler handler);
abstract member Write : Java.Nio.ByteBuffer[] * int * int * int64 * Java.Util.Concurrent.TimeUnit * Java.Lang.Object * Java.Nio.Channels.ICompletionHandler -> unit

Parameters

srcs
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.

Applies to