public class NamedPipeClientStream extends PipeStream
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.Pipes.NamedPipeClientStream
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=10.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.NamedPipeClientStream
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
NamedPipeClientStream() |
NamedPipeClientStream(java.lang.Object instance)
Internal constructor.
|
NamedPipeClientStream(PipeDirection direction,
boolean isAsync,
boolean isConnected,
SafePipeHandle safePipeHandle) |
NamedPipeClientStream(java.lang.String pipeName) |
NamedPipeClientStream(java.lang.String serverName,
java.lang.String pipeName) |
NamedPipeClientStream(java.lang.String serverName,
java.lang.String pipeName,
PipeAccessRights desiredAccessRights,
PipeOptions options,
TokenImpersonationLevel impersonationLevel,
HandleInheritability inheritability) |
NamedPipeClientStream(java.lang.String serverName,
java.lang.String pipeName,
PipeDirection direction) |
NamedPipeClientStream(java.lang.String serverName,
java.lang.String pipeName,
PipeDirection direction,
PipeOptions options) |
NamedPipeClientStream(java.lang.String serverName,
java.lang.String pipeName,
PipeDirection direction,
PipeOptions options,
TokenImpersonationLevel impersonationLevel) |
NamedPipeClientStream(java.lang.String serverName,
java.lang.String pipeName,
PipeDirection direction,
PipeOptions options,
TokenImpersonationLevel impersonationLevel,
HandleInheritability inheritability) |
| Modifier and Type | Method and Description |
|---|---|
static NamedPipeClientStream |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into NamedPipeClientStream, a cast assert is made to check if types are compatible. |
void |
Connect() |
void |
Connect(int timeout) |
void |
Connect(TimeSpan timeout) |
Task |
ConnectAsync() |
Task |
ConnectAsync(CancellationToken cancellationToken) |
Task |
ConnectAsync(int timeout) |
Task |
ConnectAsync(int timeout,
CancellationToken cancellationToken) |
Task |
ConnectAsync(TimeSpan timeout,
CancellationToken cancellationToken) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
int |
getNumberOfServerInstances() |
void |
setJCOInstance(JCObject instance) |
BeginRead, BeginRead, BeginWrite, BeginWrite, EndRead, EndWrite, Flush, FlushAsync, getInBufferSize, getIsAsync, getIsConnected, getIsMessageComplete, getOutBufferSize, getReadMode, getSafePipeHandle, getTransmissionMode, Read, Read, ReadByte, Seek, setIsConnected, SetLength, setReadMode, WaitForPipeDrain, Write, Write, WriteAsync, WriteAsync, WriteByteclose, Close, CopyTo, CopyTo, CopyToAsync, CopyToAsync, CopyToAsync, CopyToAsync, Dispose, DisposeAsync, FlushAsync, getCanRead, getCanSeek, getCanTimeout, getCanWrite, getLength, getPosition, getReadTimeout, getWriteTimeout, ReadExactly, ReadExactly, 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 NamedPipeClientStream()
throws java.lang.Throwable
java.lang.Throwablepublic NamedPipeClientStream(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic NamedPipeClientStream(PipeDirection direction, boolean isAsync, boolean isConnected, SafePipeHandle safePipeHandle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IOException, ApplicationException, ThreadStateException, MissingMethodException, TargetInvocationException, OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionIOExceptionApplicationExceptionThreadStateExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionpublic NamedPipeClientStream(java.lang.String pipeName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
NotSupportedException,
InvalidOperationException
public NamedPipeClientStream(java.lang.String serverName,
java.lang.String pipeName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
NotSupportedException,
InvalidOperationException
public NamedPipeClientStream(java.lang.String serverName,
java.lang.String pipeName,
PipeAccessRights desiredAccessRights,
PipeOptions options,
TokenImpersonationLevel impersonationLevel,
HandleInheritability inheritability)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
OutOfMemoryException,
IndexOutOfRangeException
public NamedPipeClientStream(java.lang.String serverName,
java.lang.String pipeName,
PipeDirection direction)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
NotSupportedException,
InvalidOperationException
public NamedPipeClientStream(java.lang.String serverName,
java.lang.String pipeName,
PipeDirection direction,
PipeOptions options)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
NotSupportedException,
InvalidOperationException
public NamedPipeClientStream(java.lang.String serverName,
java.lang.String pipeName,
PipeDirection direction,
PipeOptions options,
TokenImpersonationLevel impersonationLevel)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
NotSupportedException,
InvalidOperationException
public NamedPipeClientStream(java.lang.String serverName,
java.lang.String pipeName,
PipeDirection direction,
PipeOptions options,
TokenImpersonationLevel impersonationLevel,
HandleInheritability inheritability)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
OutOfMemoryException,
IndexOutOfRangeException
public static NamedPipeClientStream cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into NamedPipeClientStream, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedNamedPipeClientStream instancejava.lang.Throwable - in case of error during cast operationpublic void Connect()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
OperationCanceledException,
MissingMethodException,
TargetInvocationException,
OutOfMemoryException,
SynchronizationLockException,
SecurityException,
AccessViolationException,
UnauthorizedAccessException,
TimeoutException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionOperationCanceledExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionSynchronizationLockExceptionSecurityExceptionAccessViolationExceptionUnauthorizedAccessExceptionTimeoutExceptionpublic void Connect(int timeout)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
OperationCanceledException,
MissingMethodException,
TargetInvocationException,
OutOfMemoryException,
ThreadStateException,
PrivilegeNotHeldException,
UnauthorizedAccessException,
LockRecursionException,
SynchronizationLockException,
SecurityException,
AccessViolationException,
TimeoutException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionOperationCanceledExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionThreadStateExceptionPrivilegeNotHeldExceptionUnauthorizedAccessExceptionLockRecursionExceptionSynchronizationLockExceptionSecurityExceptionAccessViolationExceptionTimeoutExceptionpublic void Connect(TimeSpan timeout) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OperationCanceledException, MissingMethodException, TargetInvocationException, OutOfMemoryException, SynchronizationLockException, SecurityException, AccessViolationException, UnauthorizedAccessException, TimeoutException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionOperationCanceledExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionSynchronizationLockExceptionSecurityExceptionAccessViolationExceptionUnauthorizedAccessExceptionTimeoutExceptionpublic Task ConnectAsync() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, FormatException, OperationCanceledException, MissingMethodException, TargetInvocationException, OutOfMemoryException, SynchronizationLockException, SecurityException, AccessViolationException, UnauthorizedAccessException, TimeoutException, NotSupportedException, EventSourceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionOperationCanceledExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionSynchronizationLockExceptionSecurityExceptionAccessViolationExceptionUnauthorizedAccessExceptionTimeoutExceptionNotSupportedExceptionEventSourceExceptionpublic Task ConnectAsync(CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, FormatException, OperationCanceledException, MissingMethodException, TargetInvocationException, OutOfMemoryException, SynchronizationLockException, SecurityException, AccessViolationException, UnauthorizedAccessException, TimeoutException, NotSupportedException, EventSourceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionOperationCanceledExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionSynchronizationLockExceptionSecurityExceptionAccessViolationExceptionUnauthorizedAccessExceptionTimeoutExceptionNotSupportedExceptionEventSourceExceptionpublic Task ConnectAsync(int timeout) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, FormatException, OperationCanceledException, MissingMethodException, TargetInvocationException, OutOfMemoryException, SynchronizationLockException, SecurityException, AccessViolationException, UnauthorizedAccessException, TimeoutException, NotSupportedException, EventSourceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionOperationCanceledExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionSynchronizationLockExceptionSecurityExceptionAccessViolationExceptionUnauthorizedAccessExceptionTimeoutExceptionNotSupportedExceptionEventSourceExceptionpublic Task ConnectAsync(int timeout, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OperationCanceledException, MissingMethodException, TargetInvocationException, OutOfMemoryException, SynchronizationLockException, SecurityException, AccessViolationException, UnauthorizedAccessException, TimeoutException, EventSourceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionOperationCanceledExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionSynchronizationLockExceptionSecurityExceptionAccessViolationExceptionUnauthorizedAccessExceptionTimeoutExceptionEventSourceExceptionpublic Task ConnectAsync(TimeSpan timeout, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OperationCanceledException, MissingMethodException, TargetInvocationException, OutOfMemoryException, SynchronizationLockException, SecurityException, AccessViolationException, UnauthorizedAccessException, TimeoutException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionOperationCanceledExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionSynchronizationLockExceptionSecurityExceptionAccessViolationExceptionUnauthorizedAccessExceptionTimeoutExceptionEventSourceExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class PipeStreamString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class PipeStreamString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class PipeStreamObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class PipeStreamString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class PipeStreamJCType representing the CLR Type of the instantiated Classpublic int getNumberOfServerInstances()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
public void setJCOInstance(JCObject instance)
setJCOInstance in class PipeStream