public class TcpListener extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Net.Sockets.TcpListener
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Net.Sockets, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.Sockets
|
static java.lang.String |
className
Qualified class name: System.Net.Sockets.TcpListener
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TcpListener() |
TcpListener(int port)
Initializes a new instance by invoking the .NET constructor.
|
TcpListener(IPAddress localaddr,
int port)
Initializes a new instance by invoking the .NET constructor.
|
TcpListener(IPEndPoint localEP)
Initializes a new instance by invoking the .NET constructor.
|
TcpListener(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Socket |
AcceptSocket()
Invokes the .NET member AcceptSocket.
|
Task_1 |
AcceptSocketAsync()
Invokes the .NET member AcceptSocketAsync.
|
ValueTask_1 |
AcceptSocketAsync(CancellationToken cancellationToken)
Invokes the .NET member AcceptSocketAsync.
|
TcpClient |
AcceptTcpClient()
Invokes the .NET member AcceptTcpClient.
|
Task_1 |
AcceptTcpClientAsync()
Invokes the .NET member AcceptTcpClientAsync.
|
ValueTask_1 |
AcceptTcpClientAsync(CancellationToken cancellationToken)
Invokes the .NET member AcceptTcpClientAsync.
|
void |
AllowNatTraversal(boolean allowed)
Invokes the .NET member AllowNatTraversal.
|
IAsyncResult |
BeginAcceptSocket(AsyncCallback callback,
NetObject state)
Invokes the .NET member BeginAcceptSocket.
|
IAsyncResult |
BeginAcceptTcpClient(AsyncCallback callback,
NetObject state)
Invokes the .NET member BeginAcceptTcpClient.
|
static TcpListener |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TcpListener, a cast assert is made to check if types are compatible. |
void |
close() |
static TcpListener |
Create(int port)
Invokes the .NET member Create.
|
void |
Dispose()
Invokes the .NET member Dispose.
|
Socket |
EndAcceptSocket(IAsyncResult asyncResult)
Invokes the .NET member EndAcceptSocket.
|
TcpClient |
EndAcceptTcpClient(IAsyncResult asyncResult)
Invokes the .NET member EndAcceptTcpClient.
|
boolean |
getExclusiveAddressUse()
Gets the value of the .NET property ExclusiveAddressUse.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
EndPoint |
getLocalEndpoint()
Gets the value of the .NET property LocalEndpoint.
|
Socket |
getServer()
Gets the value of the .NET property Server.
|
boolean |
Pending()
Invokes the .NET member Pending.
|
void |
setExclusiveAddressUse(boolean ExclusiveAddressUse)
Sets the value of the .NET property ExclusiveAddressUse.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
Start()
Invokes the .NET member Start.
|
void |
Start(int backlog)
Invokes the .NET member Start.
|
void |
Stop()
Invokes the .NET member Stop.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TcpListener()
throws java.lang.Throwable
java.lang.Throwablepublic TcpListener(int port)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
port - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic TcpListener(IPAddress localaddr, int port) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, IndexOutOfRangeException, FormatException, EventSourceException, ObjectDisposedException, SocketException
localaddr - the argument of type IPAddressport - the argument of type intjava.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSocketException - if the .NET member raises itpublic TcpListener(IPEndPoint localEP) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, IndexOutOfRangeException, FormatException, EventSourceException, ObjectDisposedException, SocketException
localEP - the argument of type IPEndPointjava.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSocketException - if the .NET member raises itpublic TcpListener(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic Socket AcceptSocket() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, SocketException, OutOfMemoryException, FormatException, IndexOutOfRangeException, ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSocketException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic Task_1 AcceptSocketAsync() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NullReferenceException, ArrayTypeMismatchException, SocketException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNullReferenceException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSocketException - if the .NET member raises itpublic ValueTask_1 AcceptSocketAsync(CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, NullReferenceException, OutOfMemoryException, ArrayTypeMismatchException, SocketException, IndexOutOfRangeException
cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSocketException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic TcpClient AcceptTcpClient() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, SocketException, OutOfMemoryException, FormatException, IndexOutOfRangeException, ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSocketException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic Task_1 AcceptTcpClientAsync() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NullReferenceException, NotSupportedException, ObjectDisposedException, ArrayTypeMismatchException, SocketException, IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSocketException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic ValueTask_1 AcceptTcpClientAsync(CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NullReferenceException, ArrayTypeMismatchException, SocketException
cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNullReferenceException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSocketException - if the .NET member raises itpublic void AllowNatTraversal(boolean allowed)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
OutOfMemoryException,
SocketException
allowed - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSocketException - if the .NET member raises itpublic IAsyncResult BeginAcceptSocket(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NullReferenceException, NotSupportedException, ObjectDisposedException, ArrayTypeMismatchException, SocketException, EventSourceException
callback - the argument of type AsyncCallbackstate - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSocketException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic IAsyncResult BeginAcceptTcpClient(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NullReferenceException, NotSupportedException, ArrayTypeMismatchException, SocketException, EventSourceException
callback - the argument of type AsyncCallbackstate - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSocketException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic static TcpListener cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TcpListener, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTcpListener instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic static TcpListener Create(int port) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException
port - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic void Dispose()
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
ArgumentException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
EventSourceException,
NotSupportedException,
ObjectDisposedException,
ArrayTypeMismatchException,
NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic Socket EndAcceptSocket(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, TaskSchedulerException, PlatformNotSupportedException, TaskCanceledException, ArgumentOutOfRangeException, AggregateException, ObjectDisposedException
asyncResult - the argument of type IAsyncResultjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itTaskCanceledException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itAggregateException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic TcpClient EndAcceptTcpClient(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, TaskSchedulerException, PlatformNotSupportedException, TaskCanceledException, ArgumentOutOfRangeException, AggregateException, ObjectDisposedException
asyncResult - the argument of type IAsyncResultjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itTaskCanceledException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itAggregateException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic boolean getExclusiveAddressUse()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
OutOfMemoryException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
EventSourceException,
SocketException
java.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic EndPoint getLocalEndpoint() throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, SocketException, OutOfMemoryException, PlatformNotSupportedException, InvalidOperationException, FormatException, EventSourceException, ArgumentOutOfRangeException, ArgumentNullException, ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSocketException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic Socket getServer() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, OutOfMemoryException, NotSupportedException, InvalidOperationException, FormatException, EventSourceException, SocketException, ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic boolean Pending()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic void setExclusiveAddressUse(boolean ExclusiveAddressUse)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
ArrayTypeMismatchException,
SocketException
ExclusiveAddressUse - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSocketException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void Start()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
EventSourceException,
SocketException,
NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic void Start(int backlog)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException,
NullReferenceException
backlog - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic void Stop()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
EventSourceException,
ObjectDisposedException,
ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises it