public class NamedPipeServerStream extends PipeStream
.NET documentation at https://learn.microsoft.com/dotnet/api/System.IO.Pipes.NamedPipeServerStream
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.IO.Pipes, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.IO.Pipes
|
static java.lang.String |
className
Qualified class name: System.IO.Pipes.NamedPipeServerStream
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
NamedPipeServerStream() |
NamedPipeServerStream(java.lang.Object instance)
Internal constructor.
|
NamedPipeServerStream(PipeDirection direction,
boolean isAsync,
boolean isConnected,
SafePipeHandle safePipeHandle)
Initializes a new instance by invoking the .NET constructor.
|
NamedPipeServerStream(java.lang.String pipeName)
Initializes a new instance by invoking the .NET constructor.
|
NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction)
Initializes a new instance by invoking the .NET constructor.
|
NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction,
int maxNumberOfServerInstances)
Initializes a new instance by invoking the .NET constructor.
|
NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction,
int maxNumberOfServerInstances,
PipeTransmissionMode transmissionMode)
Initializes a new instance by invoking the .NET constructor.
|
NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction,
int maxNumberOfServerInstances,
PipeTransmissionMode transmissionMode,
PipeOptions options)
Initializes a new instance by invoking the .NET constructor.
|
NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction,
int maxNumberOfServerInstances,
PipeTransmissionMode transmissionMode,
PipeOptions options,
int inBufferSize,
int outBufferSize)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IAsyncResult |
BeginWaitForConnection(AsyncCallback callback,
NetObject state)
Invokes the .NET member BeginWaitForConnection.
|
static NamedPipeServerStream |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into NamedPipeServerStream, a cast assert is made to check if types are compatible. |
void |
Disconnect()
Invokes the .NET member Disconnect.
|
void |
EndWaitForConnection(IAsyncResult asyncResult)
Invokes the .NET member EndWaitForConnection.
|
java.lang.String |
GetImpersonationUserName()
Invokes the .NET member GetImpersonationUserName.
|
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. |
void |
RunAsClient(PipeStreamImpersonationWorker impersonationWorker)
Invokes the .NET member RunAsClient.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
WaitForConnection()
Invokes the .NET member WaitForConnection.
|
Task |
WaitForConnectionAsync()
Invokes the .NET member WaitForConnectionAsync.
|
Task |
WaitForConnectionAsync(CancellationToken cancellationToken)
Invokes the .NET member WaitForConnectionAsync.
|
BeginRead, BeginRead, BeginWrite, BeginWrite, EndRead, EndWrite, Flush, FlushAsync, getInBufferSize, getIsAsync, getIsConnected, getIsMessageComplete, getOutBufferSize, getReadMode, getSafePipeHandle, getTransmissionMode, Read, Read, ReadAsync, ReadAsync, ReadAsync, ReadByte, Seek, setIsConnected, SetLength, setReadMode, WaitForPipeDrain, Write, Write, WriteAsync, WriteAsync, WriteAsync, WriteByteclose, Close, CopyTo, CopyTo, CopyToAsync, CopyToAsync, CopyToAsync, CopyToAsync, Dispose, DisposeAsync, FlushAsync, getCanRead, getCanSeek, getCanTimeout, getCanWrite, getLength, getPosition, getReadTimeout, getWriteTimeout, ReadAsync, ReadAsync, ReadAtLeastAsync, ReadExactly, ReadExactly, ReadExactlyAsync, ReadExactlyAsync, ReadExactlyAsync, setPosition, setReadTimeout, setWriteTimeout, Synchronized, WriteAsync, WriteAsyncGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public NamedPipeServerStream()
throws java.lang.Throwable
java.lang.Throwablepublic NamedPipeServerStream(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 NamedPipeServerStream(PipeDirection direction, boolean isAsync, boolean isConnected, SafePipeHandle safePipeHandle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IOException, ApplicationException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, OutOfMemoryException
direction - the argument of type PipeDirectionisAsync - the argument of type booleanisConnected - the argument of type booleansafePipeHandle - the argument of type SafePipeHandlejava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itApplicationException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic NamedPipeServerStream(java.lang.String pipeName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
InvalidOperationException,
SecurityException,
AccessViolationException,
SynchronizationLockException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
pipeName - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentNullException - 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 itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSecurityException - if the .NET member raises itAccessViolationException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
InvalidOperationException,
SecurityException,
AccessViolationException,
SynchronizationLockException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
pipeName - the argument of type java.lang.Stringdirection - the argument of type PipeDirectionjava.lang.Throwable - if the .NET constructor failsArgumentNullException - 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 itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSecurityException - if the .NET member raises itAccessViolationException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction,
int maxNumberOfServerInstances)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
InvalidOperationException,
SecurityException,
AccessViolationException,
SynchronizationLockException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
pipeName - the argument of type java.lang.Stringdirection - the argument of type PipeDirectionmaxNumberOfServerInstances - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentNullException - 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 itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSecurityException - if the .NET member raises itAccessViolationException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction,
int maxNumberOfServerInstances,
PipeTransmissionMode transmissionMode)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
InvalidOperationException,
SecurityException,
AccessViolationException,
SynchronizationLockException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
pipeName - the argument of type java.lang.Stringdirection - the argument of type PipeDirectionmaxNumberOfServerInstances - the argument of type inttransmissionMode - the argument of type PipeTransmissionModejava.lang.Throwable - if the .NET constructor failsArgumentNullException - 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 itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSecurityException - if the .NET member raises itAccessViolationException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction,
int maxNumberOfServerInstances,
PipeTransmissionMode transmissionMode,
PipeOptions options)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
InvalidOperationException,
SecurityException,
AccessViolationException,
SynchronizationLockException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
pipeName - the argument of type java.lang.Stringdirection - the argument of type PipeDirectionmaxNumberOfServerInstances - the argument of type inttransmissionMode - the argument of type PipeTransmissionModeoptions - the argument of type PipeOptionsjava.lang.Throwable - if the .NET constructor failsArgumentNullException - 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 itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSecurityException - if the .NET member raises itAccessViolationException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction,
int maxNumberOfServerInstances,
PipeTransmissionMode transmissionMode,
PipeOptions options,
int inBufferSize,
int outBufferSize)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
InvalidOperationException,
SecurityException,
AccessViolationException,
SynchronizationLockException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException
pipeName - the argument of type java.lang.Stringdirection - the argument of type PipeDirectionmaxNumberOfServerInstances - the argument of type inttransmissionMode - the argument of type PipeTransmissionModeoptions - the argument of type PipeOptionsinBufferSize - the argument of type intoutBufferSize - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentNullException - 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 itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSecurityException - if the .NET member raises itAccessViolationException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic IAsyncResult BeginWaitForConnection(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, InvalidOperationException, IOException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, ArgumentNullException, TaskCanceledException, AggregateException, EventSourceException
callback - the argument of type AsyncCallbackstate - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIOException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic static NamedPipeServerStream cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into NamedPipeServerStream, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedNamedPipeServerStream instancejava.lang.Throwable - in case of error during cast operationpublic void Disconnect()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void EndWaitForConnection(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
asyncResult - the argument of type IAsyncResultjava.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 itEventSourceException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic java.lang.String GetImpersonationUserName()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
IOException,
OutOfMemoryException
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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class PipeStreampublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class PipeStreampublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class PipeStreamnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class PipeStreampublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class PipeStreampublic void RunAsClient(PipeStreamImpersonationWorker impersonationWorker) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IOException, IndexOutOfRangeException, FormatException, OutOfMemoryException
impersonationWorker - the argument of type PipeStreamImpersonationWorkerjava.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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class PipeStreaminstance - the new underlying objectpublic void WaitForConnection()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
IOException,
OutOfMemoryException,
NotSupportedException,
FormatException,
IndexOutOfRangeException,
TaskSchedulerException,
OperationCanceledException,
TaskCanceledException,
AggregateException
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 itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic Task WaitForConnectionAsync() throws java.lang.Throwable, ArgumentException, InvalidOperationException, IOException, PlatformNotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, OutOfMemoryException, TaskSchedulerException, TaskCanceledException, AggregateException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIOException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic Task WaitForConnectionAsync(CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IOException, ArgumentOutOfRangeException, NotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException, TaskSchedulerException, TaskCanceledException, AggregateException
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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIOException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises it