/Generated/v3.2/Java.Net.cs
https://gitlab.com/Pfhoenix/api · C# · 1204 lines · 406 code · 95 blank · 703 comment · 0 complexity · 4a985c38914cf30a7de6b81680609681 MD5 · raw file
- // Copyright (C) 2014 dot42
- //
- // Original filename: Java.Net.cs
- //
- // Licensed under the Apache License, Version 2.0 (the "License");
- // you may not use this file except in compliance with the License.
- // You may obtain a copy of the License at
- //
- // http://www.apache.org/licenses/LICENSE-2.0
- //
- // Unless required by applicable law or agreed to in writing, software
- // distributed under the License is distributed on an "AS IS" BASIS,
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- // See the License for the specific language governing permissions and
- // limitations under the License.
- #pragma warning disable 1717
- namespace Java.Net
- {
- /// <summary>
- /// <para>This abstract class represents a protocol-independent base for socket-endpoint representing classes. The class has to be implemented according to a specific protocol. </para>
- /// </summary>
- /// <java-name>
- /// java/net/SocketAddress
- /// </java-name>
- [Dot42.DexImport("java/net/SocketAddress", AccessFlags = 1057)]
- public abstract partial class SocketAddress : global::Java.Io.ISerializable
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Creates a new <c> SocketAddress </c> instance. </para>
- /// </summary>
- [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
- public SocketAddress() /* MethodBuilder.Create */
- {
- }
- }
- /// <summary>
- /// <para>This class is the base of all streaming socket implementation classes. Streaming sockets are wrapped by two classes, <c> ServerSocket </c> and <c> Socket </c> at the server and client end of a connection. At the server, there are two types of sockets engaged in communication, the <c> ServerSocket </c> on a well known port (referred to as listener) used to establish a connection and the resulting <c> Socket </c> (referred to as host). </para>
- /// </summary>
- /// <java-name>
- /// java/net/SocketImpl
- /// </java-name>
- [Dot42.DexImport("java/net/SocketImpl", AccessFlags = 1057)]
- public abstract partial class SocketImpl : global::Java.Net.ISocketOptions
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>The remote address this socket is connected to. </para>
- /// </summary>
- /// <java-name>
- /// address
- /// </java-name>
- [Dot42.DexImport("address", "Ljava/net/InetAddress;", AccessFlags = 4)]
- protected internal global::Java.Net.InetAddress Address;
- /// <summary>
- /// <para>The remote port this socket is connected to. </para>
- /// </summary>
- /// <java-name>
- /// port
- /// </java-name>
- [Dot42.DexImport("port", "I", AccessFlags = 4)]
- protected internal int Port;
- /// <summary>
- /// <para>The file descriptor of this socket. </para>
- /// </summary>
- /// <java-name>
- /// fd
- /// </java-name>
- [Dot42.DexImport("fd", "Ljava/io/FileDescriptor;", AccessFlags = 4)]
- protected internal global::Java.Io.FileDescriptor Fd;
- /// <summary>
- /// <para>The local port this socket is connected to. </para>
- /// </summary>
- /// <java-name>
- /// localport
- /// </java-name>
- [Dot42.DexImport("localport", "I", AccessFlags = 4)]
- protected internal int Localport;
- [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
- public SocketImpl() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Waits for an incoming request and blocks until the connection is opened on the given socket.</para><para></para>
- /// </summary>
- /// <java-name>
- /// accept
- /// </java-name>
- [Dot42.DexImport("accept", "(Ljava/net/SocketImpl;)V", AccessFlags = 1028)]
- protected internal abstract void Accept(global::Java.Net.SocketImpl newSocket) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the available number of bytes which are readable from this socket without blocking.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the number of bytes that may be read without blocking. </para>
- /// </returns>
- /// <java-name>
- /// available
- /// </java-name>
- [Dot42.DexImport("available", "()I", AccessFlags = 1028)]
- protected internal abstract int Available() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Binds this socket to the specified local host address and port number.</para><para></para>
- /// </summary>
- /// <java-name>
- /// bind
- /// </java-name>
- [Dot42.DexImport("bind", "(Ljava/net/InetAddress;I)V", AccessFlags = 1028)]
- protected internal abstract void Bind(global::Java.Net.InetAddress address, int port) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Closes this socket. This makes later access invalid.</para><para></para>
- /// </summary>
- /// <java-name>
- /// close
- /// </java-name>
- [Dot42.DexImport("close", "()V", AccessFlags = 1028)]
- protected internal abstract void Close() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Connects this socket to the specified remote host address and port number.</para><para></para>
- /// </summary>
- /// <java-name>
- /// connect
- /// </java-name>
- [Dot42.DexImport("connect", "(Ljava/lang/String;I)V", AccessFlags = 1028)]
- protected internal abstract void Connect(string address, int port) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Connects this socket to the specified remote host address and port number.</para><para></para>
- /// </summary>
- /// <java-name>
- /// connect
- /// </java-name>
- [Dot42.DexImport("connect", "(Ljava/net/InetAddress;I)V", AccessFlags = 1028)]
- protected internal abstract void Connect(global::Java.Net.InetAddress address, int port) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Creates a new unconnected socket. The argument <c> isStreaming </c> defines whether the new socket is a streaming or a datagram socket.</para><para></para>
- /// </summary>
- /// <java-name>
- /// create
- /// </java-name>
- [Dot42.DexImport("create", "(Z)V", AccessFlags = 1028)]
- protected internal abstract void Create(bool isStreaming) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Gets the file descriptor of this socket.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the file descriptor of this socket. </para>
- /// </returns>
- /// <java-name>
- /// getFileDescriptor
- /// </java-name>
- [Dot42.DexImport("getFileDescriptor", "()Ljava/io/FileDescriptor;", AccessFlags = 4)]
- protected internal virtual global::Java.Io.FileDescriptor GetFileDescriptor() /* MethodBuilder.Create */
- {
- return default(global::Java.Io.FileDescriptor);
- }
- /// <summary>
- /// <para>Gets the remote address this socket is connected to.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the remote address of this socket. </para>
- /// </returns>
- /// <java-name>
- /// getInetAddress
- /// </java-name>
- [Dot42.DexImport("getInetAddress", "()Ljava/net/InetAddress;", AccessFlags = 4)]
- protected internal virtual global::Java.Net.InetAddress GetInetAddress() /* MethodBuilder.Create */
- {
- return default(global::Java.Net.InetAddress);
- }
- /// <summary>
- /// <para>Gets the input stream of this socket.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the input stream of this socket. </para>
- /// </returns>
- /// <java-name>
- /// getInputStream
- /// </java-name>
- [Dot42.DexImport("getInputStream", "()Ljava/io/InputStream;", AccessFlags = 1028)]
- protected internal abstract global::Java.Io.InputStream GetInputStream() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Gets the local port number of this socket. The field is initialized to <c> -1 </c> and upon demand will go to the IP stack to get the bound value. See the class comment for the context of the local port.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the local port number this socket is bound to. </para>
- /// </returns>
- /// <java-name>
- /// getLocalPort
- /// </java-name>
- [Dot42.DexImport("getLocalPort", "()I", AccessFlags = 4)]
- protected internal virtual int GetLocalPort() /* MethodBuilder.Create */
- {
- return default(int);
- }
- /// <summary>
- /// <para>Gets the output stream of this socket.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the output stream of this socket. </para>
- /// </returns>
- /// <java-name>
- /// getOutputStream
- /// </java-name>
- [Dot42.DexImport("getOutputStream", "()Ljava/io/OutputStream;", AccessFlags = 1028)]
- protected internal abstract global::Java.Io.OutputStream GetOutputStream() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Gets the remote port number of this socket. This value is not meaningful when this instance is wrapped by a <c> ServerSocket </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the remote port this socket is connected to. </para>
- /// </returns>
- /// <java-name>
- /// getPort
- /// </java-name>
- [Dot42.DexImport("getPort", "()I", AccessFlags = 4)]
- protected internal virtual int GetPort() /* MethodBuilder.Create */
- {
- return default(int);
- }
- /// <summary>
- /// <para>Listens for connection requests on this streaming socket. Incoming connection requests are queued up to the limit specified by <c> backlog </c> . Additional requests are rejected. This method may only be invoked on stream sockets.</para><para></para>
- /// </summary>
- /// <java-name>
- /// listen
- /// </java-name>
- [Dot42.DexImport("listen", "(I)V", AccessFlags = 1028)]
- protected internal abstract void Listen(int backlog) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns a string containing a concise, human-readable description of the socket.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the textual representation of this socket. </para>
- /// </returns>
- /// <java-name>
- /// toString
- /// </java-name>
- [Dot42.DexImport("toString", "()Ljava/lang/String;", AccessFlags = 1)]
- public override string ToString() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Closes the input channel of this socket.</para><para>This default implementation always throws an IOException to indicate that the subclass should have overridden this method.</para><para></para>
- /// </summary>
- /// <java-name>
- /// shutdownInput
- /// </java-name>
- [Dot42.DexImport("shutdownInput", "()V", AccessFlags = 4)]
- protected internal virtual void ShutdownInput() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Closes the output channel of this socket.</para><para>This default implementation always throws an IOException to indicate that the subclass should have overridden this method.</para><para></para>
- /// </summary>
- /// <java-name>
- /// shutdownOutput
- /// </java-name>
- [Dot42.DexImport("shutdownOutput", "()V", AccessFlags = 4)]
- protected internal virtual void ShutdownOutput() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Connects this socket to the specified remote host address and port number.</para><para></para>
- /// </summary>
- /// <java-name>
- /// connect
- /// </java-name>
- [Dot42.DexImport("connect", "(Ljava/net/SocketAddress;I)V", AccessFlags = 1028)]
- protected internal abstract void Connect(global::Java.Net.SocketAddress address, int port) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns whether the socket supports urgent data or not. Subclasses should override this method.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> false </c> because subclasses must override this method. </para>
- /// </returns>
- /// <java-name>
- /// supportsUrgentData
- /// </java-name>
- [Dot42.DexImport("supportsUrgentData", "()Z", AccessFlags = 4)]
- protected internal virtual bool SupportsUrgentData() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Sends the single byte of urgent data on the socket.</para><para></para>
- /// </summary>
- /// <java-name>
- /// sendUrgentData
- /// </java-name>
- [Dot42.DexImport("sendUrgentData", "(I)V", AccessFlags = 1028)]
- protected internal abstract void SendUrgentData(int value) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets performance preference for connection time, latency and bandwidth. Does nothing by default.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setPerformancePreferences
- /// </java-name>
- [Dot42.DexImport("setPerformancePreferences", "(III)V", AccessFlags = 4)]
- protected internal virtual void SetPerformancePreferences(int connectionTime, int latency, int bandwidth) /* MethodBuilder.Create */
- {
- }
- [Dot42.DexImport("java/net/SocketOptions", "getOption", "(I)Ljava/lang/Object;", AccessFlags = 1025)]
- public virtual object GetOption(int optID) /* TypeBuilder.AddAbstractInterfaceMethods */
- {
- return default(object);
- }
- [Dot42.DexImport("java/net/SocketOptions", "setOption", "(ILjava/lang/Object;)V", AccessFlags = 1025)]
- public virtual void SetOption(int optID, object val) /* TypeBuilder.AddAbstractInterfaceMethods */
- {
- }
- /// <summary>
- /// <para>Gets the file descriptor of this socket.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the file descriptor of this socket. </para>
- /// </returns>
- /// <java-name>
- /// getFileDescriptor
- /// </java-name>
- protected internal global::Java.Io.FileDescriptor FileDescriptor
- {
- [Dot42.DexImport("getFileDescriptor", "()Ljava/io/FileDescriptor;", AccessFlags = 4)]
- get{ return GetFileDescriptor(); }
- }
- /// <summary>
- /// <para>Gets the remote address this socket is connected to.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the remote address of this socket. </para>
- /// </returns>
- /// <java-name>
- /// getInetAddress
- /// </java-name>
- protected internal global::Java.Net.InetAddress InetAddress
- {
- [Dot42.DexImport("getInetAddress", "()Ljava/net/InetAddress;", AccessFlags = 4)]
- get{ return GetInetAddress(); }
- }
- /// <summary>
- /// <para>Gets the input stream of this socket.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the input stream of this socket. </para>
- /// </returns>
- /// <java-name>
- /// getInputStream
- /// </java-name>
- protected internal global::Java.Io.InputStream InputStream
- {
- [Dot42.DexImport("getInputStream", "()Ljava/io/InputStream;", AccessFlags = 1028)]
- get{ return GetInputStream(); }
- }
- /// <summary>
- /// <para>Gets the local port number of this socket. The field is initialized to <c> -1 </c> and upon demand will go to the IP stack to get the bound value. See the class comment for the context of the local port.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the local port number this socket is bound to. </para>
- /// </returns>
- /// <java-name>
- /// getLocalPort
- /// </java-name>
- protected internal int LocalPort
- {
- [Dot42.DexImport("getLocalPort", "()I", AccessFlags = 4)]
- get{ return GetLocalPort(); }
- }
- /// <summary>
- /// <para>Gets the output stream of this socket.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the output stream of this socket. </para>
- /// </returns>
- /// <java-name>
- /// getOutputStream
- /// </java-name>
- protected internal global::Java.Io.OutputStream OutputStream
- {
- [Dot42.DexImport("getOutputStream", "()Ljava/io/OutputStream;", AccessFlags = 1028)]
- get{ return GetOutputStream(); }
- }
- }
- /// <summary>
- /// <para>This class is used to encode a string using the format required by <c> application/x-www-form-urlencoded </c> MIME content type.</para><para>All characters except letters ('a'..'z', 'A'..'Z') and numbers ('0'..'9') and characters '.', '-', '*', '_' are converted into their hexadecimal value prepended by ''. For example: '#' -> %23. In addition, spaces are substituted by '+'. </para>
- /// </summary>
- /// <java-name>
- /// java/net/URLEncoder
- /// </java-name>
- [Dot42.DexImport("java/net/URLEncoder", AccessFlags = 33)]
- public partial class URLEncoder
- /* scope: __dot42__ */
- {
- [Dot42.DexImport("<init>", "()V", AccessFlags = 0)]
- internal URLEncoder() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Equivalent to <c> encode(s, "UTF-8") </c> .</para><para><xrefsect><xreftitle>Deprecated</xreftitle><xrefdescription><para>use encode(String, String) instead. </para></xrefdescription></xrefsect></para>
- /// </summary>
- /// <java-name>
- /// encode
- /// </java-name>
- [Dot42.DexImport("encode", "(Ljava/lang/String;)Ljava/lang/String;", AccessFlags = 9)]
- public static string Encode(string s) /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Encodes <c> s </c> using the Charset named by <c> charsetName </c> . </para>
- /// </summary>
- /// <java-name>
- /// encode
- /// </java-name>
- [Dot42.DexImport("encode", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", AccessFlags = 9)]
- public static string Encode(string s, string charsetName) /* MethodBuilder.Create */
- {
- return default(string);
- }
- }
- /// <summary>
- /// <para>The abstract class <c> URLStreamHandler </c> is the base for all classes which can handle the communication with a URL object over a particular protocol type. </para>
- /// </summary>
- /// <java-name>
- /// java/net/URLStreamHandler
- /// </java-name>
- [Dot42.DexImport("java/net/URLStreamHandler", AccessFlags = 1057)]
- public abstract partial class URLStreamHandler
- /* scope: __dot42__ */
- {
- [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
- public URLStreamHandler() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Establishes a new connection to the resource specified by the URL <c> u </c> . Since different protocols also have unique ways of connecting, it must be overwritten by the subclass.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the opened URLConnection to the specified resource. </para>
- /// </returns>
- /// <java-name>
- /// openConnection
- /// </java-name>
- [Dot42.DexImport("openConnection", "(Ljava/net/URL;)Ljava/net/URLConnection;", AccessFlags = 1028)]
- protected internal abstract global::Java.Net.URLConnection OpenConnection(global::Java.Net.URL u) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Establishes a new connection to the resource specified by the URL <c> u </c> using the given <c> proxy </c> . Since different protocols also have unique ways of connecting, it must be overwritten by the subclass.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the opened URLConnection to the specified resource. </para>
- /// </returns>
- /// <java-name>
- /// openConnection
- /// </java-name>
- [Dot42.DexImport("openConnection", "(Ljava/net/URL;Ljava/net/Proxy;)Ljava/net/URLConnection;", AccessFlags = 4)]
- protected internal virtual global::Java.Net.URLConnection OpenConnection(global::Java.Net.URL u, global::Java.Net.Proxy proxy) /* MethodBuilder.Create */
- {
- return default(global::Java.Net.URLConnection);
- }
- /// <summary>
- /// <para>Parses the clear text URL in <c> str </c> into a URL object. URL strings generally have the following format: </para><para> </para><para>The string is parsed in HTTP format. If the protocol has a different URL format this method must be overridden.</para><para><para>toExternalForm </para><simplesectsep></simplesectsep><para>URL </para></para>
- /// </summary>
- /// <java-name>
- /// parseURL
- /// </java-name>
- [Dot42.DexImport("parseURL", "(Ljava/net/URL;Ljava/lang/String;II)V", AccessFlags = 4)]
- protected internal virtual void ParseURL(global::Java.Net.URL url, string spec, int start, int end) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Sets the fields of the URL <c> u </c> to the values of the supplied arguments.</para><para><xrefsect><xreftitle>Deprecated</xreftitle><xrefdescription><para>use setURL(URL, String String, int, String, String, String, String, String) instead. </para></xrefdescription></xrefsect></para>
- /// </summary>
- /// <java-name>
- /// setURL
- /// </java-name>
- [Dot42.DexImport("setURL", "(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/" +
- "String;)V", AccessFlags = 4)]
- protected internal virtual void SetURL(global::Java.Net.URL u, string protocol, string host, int port, string file, string @ref) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Sets the fields of the URL <c> u </c> to the values of the supplied arguments. </para>
- /// </summary>
- /// <java-name>
- /// setURL
- /// </java-name>
- [Dot42.DexImport("setURL", "(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/" +
- "String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", AccessFlags = 4)]
- protected internal virtual void SetURL(global::Java.Net.URL u, string protocol, string host, int port, string authority, string userInfo, string path, string query, string @ref) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Returns the clear text representation of a given URL using HTTP format.</para><para><para>parseURL </para><simplesectsep></simplesectsep><para>URL::toExternalForm() </para></para>
- /// </summary>
- /// <returns>
- /// <para>the clear text representation of the specified URL. </para>
- /// </returns>
- /// <java-name>
- /// toExternalForm
- /// </java-name>
- [Dot42.DexImport("toExternalForm", "(Ljava/net/URL;)Ljava/lang/String;", AccessFlags = 4)]
- protected internal virtual string ToExternalForm(global::Java.Net.URL url) /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Returns true if <c> a </c> and <c> b </c> have the same protocol, host, port, file, and reference. </para>
- /// </summary>
- /// <java-name>
- /// equals
- /// </java-name>
- [Dot42.DexImport("equals", "(Ljava/net/URL;Ljava/net/URL;)Z", AccessFlags = 4)]
- protected internal virtual bool Equals(global::Java.Net.URL a, global::Java.Net.URL b) /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns the default port of the protocol used by the handled URL. The default implementation always returns <c> -1 </c> . </para>
- /// </summary>
- /// <java-name>
- /// getDefaultPort
- /// </java-name>
- [Dot42.DexImport("getDefaultPort", "()I", AccessFlags = 4)]
- protected internal virtual int GetDefaultPort() /* MethodBuilder.Create */
- {
- return default(int);
- }
- /// <summary>
- /// <para>Returns the host address of <c> url </c> . </para>
- /// </summary>
- /// <java-name>
- /// getHostAddress
- /// </java-name>
- [Dot42.DexImport("getHostAddress", "(Ljava/net/URL;)Ljava/net/InetAddress;", AccessFlags = 4)]
- protected internal virtual global::Java.Net.InetAddress GetHostAddress(global::Java.Net.URL url) /* MethodBuilder.Create */
- {
- return default(global::Java.Net.InetAddress);
- }
- /// <summary>
- /// <para>Returns the hash code of <c> url </c> . </para>
- /// </summary>
- /// <java-name>
- /// hashCode
- /// </java-name>
- [Dot42.DexImport("hashCode", "(Ljava/net/URL;)I", AccessFlags = 4)]
- protected internal virtual int GetHashCode(global::Java.Net.URL url) /* MethodBuilder.Create */
- {
- return default(int);
- }
- /// <summary>
- /// <para>Returns true if the hosts of <c> a </c> and <c> b </c> are equal. </para>
- /// </summary>
- /// <java-name>
- /// hostsEqual
- /// </java-name>
- [Dot42.DexImport("hostsEqual", "(Ljava/net/URL;Ljava/net/URL;)Z", AccessFlags = 4)]
- protected internal virtual bool HostsEqual(global::Java.Net.URL a, global::Java.Net.URL b) /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns true if <c> a </c> and <c> b </c> have the same protocol, host, port and file. </para>
- /// </summary>
- /// <java-name>
- /// sameFile
- /// </java-name>
- [Dot42.DexImport("sameFile", "(Ljava/net/URL;Ljava/net/URL;)Z", AccessFlags = 4)]
- protected internal virtual bool SameFile(global::Java.Net.URL a, global::Java.Net.URL b) /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns the default port of the protocol used by the handled URL. The default implementation always returns <c> -1 </c> . </para>
- /// </summary>
- /// <java-name>
- /// getDefaultPort
- /// </java-name>
- protected internal int DefaultPort
- {
- [Dot42.DexImport("getDefaultPort", "()I", AccessFlags = 4)]
- get{ return GetDefaultPort(); }
- }
- }
- /// <summary>
- /// <para>This class provides a way to manage cookies with a HTTP protocol handler. </para>
- /// </summary>
- /// <java-name>
- /// java/net/CookieHandler
- /// </java-name>
- [Dot42.DexImport("java/net/CookieHandler", AccessFlags = 1057)]
- public abstract partial class CookieHandler
- /* scope: __dot42__ */
- {
- [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
- public CookieHandler() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Returns the system-wide cookie handler or <c> null </c> if not set. </para>
- /// </summary>
- /// <java-name>
- /// getDefault
- /// </java-name>
- [Dot42.DexImport("getDefault", "()Ljava/net/CookieHandler;", AccessFlags = 9)]
- public static global::Java.Net.CookieHandler GetDefault() /* MethodBuilder.Create */
- {
- return default(global::Java.Net.CookieHandler);
- }
- /// <summary>
- /// <para>Sets the system-wide cookie handler. </para>
- /// </summary>
- /// <java-name>
- /// setDefault
- /// </java-name>
- [Dot42.DexImport("setDefault", "(Ljava/net/CookieHandler;)V", AccessFlags = 9)]
- public static void SetDefault(global::Java.Net.CookieHandler cHandler) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Gets all cookies for a specific URI from the cookie cache.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>an unchangeable map of all appropriate cookies. </para>
- /// </returns>
- /// <java-name>
- /// get
- /// </java-name>
- [Dot42.DexImport("get", "(Ljava/net/URI;Ljava/util/Map;)Ljava/util/Map;", AccessFlags = 1025, Signature = "(Ljava/net/URI;Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String" +
- ";>;>;)Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;")]
- public abstract global::Java.Util.IMap<string, global::Java.Util.IList<string>> Get(global::System.Uri uri, global::Java.Util.IMap<string, global::Java.Util.IList<string>> requestHeaders) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Sets all cookies of a specific URI in the <c> responseHeaders </c> into the cookie cache.</para><para></para>
- /// </summary>
- /// <java-name>
- /// put
- /// </java-name>
- [Dot42.DexImport("put", "(Ljava/net/URI;Ljava/util/Map;)V", AccessFlags = 1025, Signature = "(Ljava/net/URI;Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String" +
- ";>;>;)V")]
- public abstract void Put(global::System.Uri uri, global::Java.Util.IMap<string, global::Java.Util.IList<string>> responseHeaders) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the system-wide cookie handler or <c> null </c> if not set. </para>
- /// </summary>
- /// <java-name>
- /// getDefault
- /// </java-name>
- public static global::Java.Net.CookieHandler Default
- {
- [Dot42.DexImport("getDefault", "()Ljava/net/CookieHandler;", AccessFlags = 9)]
- get{ return GetDefault(); }
- [Dot42.DexImport("setDefault", "(Ljava/net/CookieHandler;)V", AccessFlags = 9)]
- set{ SetDefault(value); }
- }
- }
- /// <summary>
- /// <para>This <c> PortUnreachableException </c> will be thrown if an <c> ICMP_Port_Unreachable </c> message has been received.</para><para>Most applications <b>should not</b> catch this exception; it is more robust to catch the superclass <c> SocketException </c> . </para>
- /// </summary>
- /// <java-name>
- /// java/net/PortUnreachableException
- /// </java-name>
- [Dot42.DexImport("java/net/PortUnreachableException", AccessFlags = 33)]
- public partial class PortUnreachableException : global::Java.Net.SocketException
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Constructs a new instance. </para>
- /// </summary>
- [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
- public PortUnreachableException() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Constructs a new instance with the given detail message. </para>
- /// </summary>
- [Dot42.DexImport("<init>", "(Ljava/lang/String;)V", AccessFlags = 1)]
- public PortUnreachableException(string detailMessage) /* MethodBuilder.Create */
- {
- }
- }
- /// <summary>
- /// <para>Defines a factory which creates an <c> URLStreamHandler </c> for a specified protocol. It is used by the class <c> URL </c> . </para>
- /// </summary>
- /// <java-name>
- /// java/net/URLStreamHandlerFactory
- /// </java-name>
- [Dot42.DexImport("java/net/URLStreamHandlerFactory", AccessFlags = 1537)]
- public partial interface IURLStreamHandlerFactory
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Creates a new <c> URLStreamHandler </c> instance for the given <c> protocol </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the created handler. </para>
- /// </returns>
- /// <java-name>
- /// createURLStreamHandler
- /// </java-name>
- [Dot42.DexImport("createURLStreamHandler", "(Ljava/lang/String;)Ljava/net/URLStreamHandler;", AccessFlags = 1025)]
- global::Java.Net.URLStreamHandler CreateURLStreamHandler(string protocol) /* MethodBuilder.Create */ ;
- }
- /// <summary>
- /// <para>A CookieStore object is a repository for cookies.</para><para>CookieManager will store cookies of every incoming HTTP response into CookieStore, and retrieve cookies for every outgoing HTTP request.Expired HttpCookies should be removed from this store by themselves.</para><para><para>1.6 </para></para>
- /// </summary>
- /// <java-name>
- /// java/net/CookieStore
- /// </java-name>
- [Dot42.DexImport("java/net/CookieStore", AccessFlags = 1537)]
- public partial interface ICookieStore
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Saves a HTTP cookie to this store. This is called for every incoming HTTP response.</para><para>A cookie may or may not has an associated URI. If not, the cookie's domain and path attribute will show cradleland. If there is an associated URI and no domain and path attribute are speicifed for the cookie, the given URI will indicate where this cookie comes from.</para><para>If a cookie corresponding to the given URI already exists, then it is replaced with the new one.</para><para></para>
- /// </summary>
- /// <java-name>
- /// add
- /// </java-name>
- [Dot42.DexImport("add", "(Ljava/net/URI;Ljava/net/HttpCookie;)V", AccessFlags = 1025)]
- void Add(global::System.Uri uri, global::Java.Net.HttpCookie cookie) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Retrieves cookies that match the specified URI. Return not expired cookies. For every outgoing HTTP request, this method will be called.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>an immutable list of HttpCookies, return empty list if no cookies match the given URI </para>
- /// </returns>
- /// <java-name>
- /// get
- /// </java-name>
- [Dot42.DexImport("get", "(Ljava/net/URI;)Ljava/util/List;", AccessFlags = 1025, Signature = "(Ljava/net/URI;)Ljava/util/List<Ljava/net/HttpCookie;>;")]
- global::Java.Util.IList<global::Java.Net.HttpCookie> Get(global::System.Uri uri) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Get all cookies in cookie store which are not expired.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>an empty list if there's no http cookie in store, or an immutable list of cookies </para>
- /// </returns>
- /// <java-name>
- /// getCookies
- /// </java-name>
- [Dot42.DexImport("getCookies", "()Ljava/util/List;", AccessFlags = 1025, Signature = "()Ljava/util/List<Ljava/net/HttpCookie;>;")]
- global::Java.Util.IList<global::Java.Net.HttpCookie> GetCookies() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Get a set of URIs, which is composed of associated URI with all the cookies in the store.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>zero-length list if no cookie in the store is associated with any URIs, otherwise an immutable list of URIs. </para>
- /// </returns>
- /// <java-name>
- /// getURIs
- /// </java-name>
- [Dot42.DexImport("getURIs", "()Ljava/util/List;", AccessFlags = 1025, Signature = "()Ljava/util/List<Ljava/net/URI;>;")]
- global::Java.Util.IList<global::System.Uri> GetURIs() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Remove the specified cookie from the store.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>true if the specified cookie is contained in this store and removed successfully </para>
- /// </returns>
- /// <java-name>
- /// remove
- /// </java-name>
- [Dot42.DexImport("remove", "(Ljava/net/URI;Ljava/net/HttpCookie;)Z", AccessFlags = 1025)]
- bool Remove(global::System.Uri uri, global::Java.Net.HttpCookie cookie) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Clear this cookie store.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>true if any cookies were removed as a result of this call. </para>
- /// </returns>
- /// <java-name>
- /// removeAll
- /// </java-name>
- [Dot42.DexImport("removeAll", "()Z", AccessFlags = 1025)]
- bool RemoveAll() /* MethodBuilder.Create */ ;
- }
- /// <summary>
- /// <para>An implementation of this class is able to obtain authentication information for a connection in several ways. For this purpose it has to set the default authenticator which extends <c> Authenticator </c> by <c> setDefault(Authenticator a) </c> . Then it should override <c> getPasswordAuthentication() </c> which dictates how the authentication info is obtained. Usually, it prompts the user for the required input.</para><para><para>setDefault </para><simplesectsep></simplesectsep><para>getPasswordAuthentication </para></para>
- /// </summary>
- /// <java-name>
- /// java/net/Authenticator
- /// </java-name>
- [Dot42.DexImport("java/net/Authenticator", AccessFlags = 1057)]
- public abstract partial class Authenticator
- /* scope: __dot42__ */
- {
- [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
- public Authenticator() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Returns the collected username and password for authorization. The subclass has to override this method to return a value different to the default which is <c> null </c> . </para><para>Returns <c> null </c> by default.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>collected password authentication data. </para>
- /// </returns>
- /// <java-name>
- /// getPasswordAuthentication
- /// </java-name>
- [Dot42.DexImport("getPasswordAuthentication", "()Ljava/net/PasswordAuthentication;", AccessFlags = 4)]
- protected internal virtual global::Java.Net.PasswordAuthentication GetPasswordAuthentication() /* MethodBuilder.Create */
- {
- return default(global::Java.Net.PasswordAuthentication);
- }
- /// <summary>
- /// <para>Returns the port of the connection that requests authorization.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>port of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingPort
- /// </java-name>
- [Dot42.DexImport("getRequestingPort", "()I", AccessFlags = 20)]
- protected internal int GetRequestingPort() /* MethodBuilder.Create */
- {
- return default(int);
- }
- /// <summary>
- /// <para>Returns the address of the connection that requests authorization or <c> null </c> if unknown.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>address of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingSite
- /// </java-name>
- [Dot42.DexImport("getRequestingSite", "()Ljava/net/InetAddress;", AccessFlags = 20)]
- protected internal global::Java.Net.InetAddress GetRequestingSite() /* MethodBuilder.Create */
- {
- return default(global::Java.Net.InetAddress);
- }
- /// <summary>
- /// <para>Returns the realm (prompt string) of the connection that requests authorization.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>prompt string of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingPrompt
- /// </java-name>
- [Dot42.DexImport("getRequestingPrompt", "()Ljava/lang/String;", AccessFlags = 20)]
- protected internal string GetRequestingPrompt() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Returns the protocol of the connection that requests authorization.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>protocol of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingProtocol
- /// </java-name>
- [Dot42.DexImport("getRequestingProtocol", "()Ljava/lang/String;", AccessFlags = 20)]
- protected internal string GetRequestingProtocol() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Returns the scheme of the connection that requests authorization, for example HTTP Basic Authentication.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>scheme of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingScheme
- /// </java-name>
- [Dot42.DexImport("getRequestingScheme", "()Ljava/lang/String;", AccessFlags = 20)]
- protected internal string GetRequestingScheme() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Invokes the methods of the registered authenticator to get the authentication info.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>password authentication info or <c> null </c> if no authenticator exists. </para>
- /// </returns>
- /// <java-name>
- /// requestPasswordAuthentication
- /// </java-name>
- [Dot42.DexImport("requestPasswordAuthentication", "(Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lj" +
- "ava/net/PasswordAuthentication;", AccessFlags = 41)]
- public static global::Java.Net.PasswordAuthentication RequestPasswordAuthentication(global::Java.Net.InetAddress rAddr, int rPort, string rProtocol, string rPrompt, string rScheme) /* MethodBuilder.Create */
- {
- return default(global::Java.Net.PasswordAuthentication);
- }
- /// <summary>
- /// <para>Sets <c> a </c> as the default authenticator. It will be called whenever the realm that the URL is pointing to requires authorization.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setDefault
- /// </java-name>
- [Dot42.DexImport("setDefault", "(Ljava/net/Authenticator;)V", AccessFlags = 9)]
- public static void SetDefault(global::Java.Net.Authenticator a) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Invokes the methods of the registered authenticator to get the authentication info.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>password authentication info or <c> null </c> if no authenticator exists. </para>
- /// </returns>
- /// <java-name>
- /// requestPasswordAuthentication
- /// </java-name>
- [Dot42.DexImport("requestPasswordAuthentication", "(Ljava/lang/String;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Lja" +
- "va/lang/String;)Ljava/net/PasswordAuthentication;", AccessFlags = 41)]
- public static global::Java.Net.PasswordAuthentication RequestPasswordAuthentication(string rHost, global::Java.Net.InetAddress rAddr, int rPort, string rProtocol, string rPrompt, string rScheme) /* MethodBuilder.Create */
- {
- return default(global::Java.Net.PasswordAuthentication);
- }
- /// <summary>
- /// <para>Returns the host name of the connection that requests authentication or <c> null </c> if unknown.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>name of the requesting host or <c> null </c> . </para>
- /// </returns>
- /// <java-name>
- /// getRequestingHost
- /// </java-name>
- [Dot42.DexImport("getRequestingHost", "()Ljava/lang/String;", AccessFlags = 20)]
- protected internal string GetRequestingHost() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Invokes the methods of the registered authenticator to get the authentication info.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>password authentication info or <c> null </c> if no authenticator exists. </para>
- /// </returns>
- /// <java-name>
- /// requestPasswordAuthentication
- /// </java-name>
- [Dot42.DexImport("requestPasswordAuthentication", "(Ljava/lang/String;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Lja" +
- "va/lang/String;Ljava/net/URL;Ljava/net/Authenticator$RequestorType;)Ljava/net/Pa" +
- "sswordAuthentication;", AccessFlags = 9)]
- public static global::Java.Net.PasswordAuthentication RequestPasswordAuthentication(string rHost, global::Java.Net.InetAddress rAddr, int rPort, string rProtocol, string rPrompt, string rScheme, global::Java.Net.URL rURL, global::Java.Net.Authenticator.RequestorType reqType) /* MethodBuilder.Create */
- {
- return default(global::Java.Net.PasswordAuthentication);
- }
- /// <summary>
- /// <para>Returns the URL of the authentication request.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>authentication request url. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingURL
- /// </java-name>
- [Dot42.DexImport("getRequestingURL", "()Ljava/net/URL;", AccessFlags = 4)]
- protected internal virtual global::Java.Net.URL GetRequestingURL() /* MethodBuilder.Create */
- {
- return default(global::Java.Net.URL);
- }
- /// <summary>
- /// <para>Returns the type of this request, it can be <c> PROXY </c> or <c> SERVER </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>RequestorType of the authentication request. </para>
- /// </returns>
- /// <java-name>
- /// getRequestorType
- /// </java-name>
- [Dot42.DexImport("getRequestorType", "()Ljava/net/Authenticator$RequestorType;", AccessFlags = 4)]
- protected internal virtual global::Java.Net.Authenticator.RequestorType GetRequestorType() /* MethodBuilder.Create */
- {
- return default(global::Java.Net.Authenticator.RequestorType);
- }
- /// <summary>
- /// <para>Returns the collected username and password for authorization. The subclass has to override this method to return a value different to the default which is <c> null </c> . </para><para>Returns <c> null </c> by default.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>collected password authentication data. </para>
- /// </returns>
- /// <java-name>
- /// getPasswordAuthentication
- /// </java-name>
- protected internal global::Java.Net.PasswordAuthentication PasswordAuthentication
- {
- [Dot42.DexImport("getPasswordAuthentication", "()Ljava/net/PasswordAuthentication;", AccessFlags = 4)]
- get{ return GetPasswordAuthentication(); }
- }
- /// <summary>
- /// <para>Returns the port of the connection that requests authorization.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>port of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingPort
- /// </java-name>
- protected internal int RequestingPort
- {
- [Dot42.DexImport("getRequestingPort", "()I", AccessFlags = 20)]
- get{ return GetRequestingPort(); }
- }
- /// <summary>
- /// <para>Returns the address of the connection that requests authorization or <c> null </c> if unknown.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>address of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingSite
- /// </java-name>
- protected internal global::Java.Net.InetAddress RequestingSite
- {
- [Dot42.DexImport("getRequestingSite", "()Ljava/net/InetAddress;", AccessFlags = 20)]
- get{ return GetRequestingSite(); }
- }
- /// <summary>
- /// <para>Returns the realm (prompt string) of the connection that requests authorization.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>prompt string of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingPrompt
- /// </java-name>
- protected internal string RequestingPrompt
- {
- [Dot42.DexImport("getRequestingPrompt", "()Ljava/lang/String;", AccessFlags = 20)]
- get{ return GetRequestingPrompt(); }
- }
- /// <summary>
- /// <para>Returns the protocol of the connection that requests authorization.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>protocol of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingProtocol
- /// </java-name>
- protected internal string RequestingProtocol
- {
- [Dot42.DexImport("getRequestingProtocol", "()Ljava/lang/String;", AccessFlags = 20)]
- get{ return GetRequestingProtocol(); }
- }
- /// <summary>
- /// <para>Returns the scheme of the connection that requests authorization, for example HTTP Basic Authentication.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>scheme of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingScheme
- /// </java-name>
- protected internal string RequestingScheme
- {
- [Dot42.DexImport("getRequestingScheme", "()Ljava/lang/String;", AccessFlags = 20)]
- get{ return GetRequestingScheme(); }
- }
- /// <summary>
- /// <para>Returns the host name of the connection that requests authentication or <c> null </c> if unknown.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>name of the requesting host or <c> null </c> . </para>
- /// </returns>
- /// <java-name>
- /// getRequestingHost
- /// </java-name>
- protected internal string RequestingHost
- {
- [Dot42.DexImport("getRequestingHost", "()Ljava/lang/String;", AccessFlags = 20)]
- get{ return GetRequestingHost(); }
- }
- /// <summary>
- /// <para>Returns the URL of the authentication request.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>authentication request url. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingURL
- /// </java-name>
- protected internal global::Java.Net.URL RequestingURL
- {
- [Dot42.DexImport("getRequestingURL", "()Ljava/net/URL;", AccessFlags = 4)]
- get{ return GetRequestingURL(); }
- }
- /// <java-name>
- /// java/net/Authenticator$RequestorType
- /// </java-name>
- [Dot42.DexImport("java/net/Authenticator$RequestorType", AccessFlags = 16409, Signature = "Ljava/lang/Enum<Ljava/net/Authenticator$RequestorType;>;")]
- public sealed class RequestorType
- /* scope: __dot42__ */
- {
- /// <java-name>
- /// PROXY
- /// </java-name>
- [Dot42.DexImport("PROXY", "Ljava/net/Authenticator$RequestorType;", AccessFlags = 16409)]
- public static readonly RequestorType PROXY;
- /// <java-name>
- /// SERVER
- /// </java-name>
- [Dot42.DexImport("SERVER", "Ljava/net/Authenticator$RequestorType;", AccessFlags = 16409)]
- public static readonly RequestorType SERVER;
- private RequestorType() /* TypeBuilder.AddPrivateDefaultCtor */
- {
- }
- }
- }
- /// <summary>
- /// <para>This class represents a server-side socket that waits for incoming client connections. A <c> ServerSocket </c> handles the requests and sends back an appropriate reply. The actual tasks that a server socket must accomplish are implemented by an internal <c> SocketImpl </c> instance. </para>
- /// </summary>
- /// <java-name>
- /// java/net/ServerSocket
- /// </java-name>
- [Dot42.DexImport("java/net/ServerSocket", AccessFlags = 33)]