Socket.Channel Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne l’objet unique java.nio.channels.SocketChannel SocketChannel associé à ce socket, le cas échéant.
public virtual Java.Nio.Channels.SocketChannel? Channel { [Android.Runtime.Register("getChannel", "()Ljava/nio/channels/SocketChannel;", "GetGetChannelHandler")] get; }
[<get: Android.Runtime.Register("getChannel", "()Ljava/nio/channels/SocketChannel;", "GetGetChannelHandler")>]
member this.Channel : Java.Nio.Channels.SocketChannel
Valeur de propriété
canal de socket associé à ce socket, ou null si ce socket n’a pas été créé pour un canal
- Attributs
Remarques
Retourne l’objet unique java.nio.channels.SocketChannel SocketChannel associé à ce socket, le cas échéant.
Un socket aura un canal si, et seulement si, le canal lui-même a été créé via les méthodes ou java.nio.channels.ServerSocketChannel#accept ServerSocketChannel.accept les java.nio.channels.SocketChannel#open SocketChannel.open méthodes.
Ajouté dans la version 1.4.
Java documentation pour java.net.Socket.getChannel().
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.