public class NamedPipeServerStream extends PipeStream
.NET documentation at https://docs.microsoft.com/en-us/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=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.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) |
NamedPipeServerStream(java.lang.String pipeName) |
NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction) |
NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction,
int maxNumberOfServerInstances) |
NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction,
int maxNumberOfServerInstances,
PipeTransmissionMode transmissionMode) |
NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction,
int maxNumberOfServerInstances,
PipeTransmissionMode transmissionMode,
PipeOptions options) |
NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction,
int maxNumberOfServerInstances,
PipeTransmissionMode transmissionMode,
PipeOptions options,
int inBufferSize,
int outBufferSize) |
| Modifier and Type | Method and Description |
|---|---|
IAsyncResult |
BeginWaitForConnection(AsyncCallback callback,
NetObject state) |
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() |
void |
EndWaitForConnection(IAsyncResult asyncResult) |
java.lang.String |
GetImpersonationUserName() |
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
|
void |
RunAsClient(PipeStreamImpersonationWorker impersonationWorker) |
void |
setJCOInstance(JCObject instance) |
void |
WaitForConnection() |
Task |
WaitForConnectionAsync() |
Task |
WaitForConnectionAsync(CancellationToken cancellationToken) |
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 NamedPipeServerStream()
throws java.lang.Throwable
java.lang.Throwablepublic NamedPipeServerStream(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic NamedPipeServerStream(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 NamedPipeServerStream(java.lang.String pipeName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
NotSupportedException,
InvalidOperationException,
SecurityException,
AccessViolationException,
SynchronizationLockException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionSecurityExceptionAccessViolationExceptionSynchronizationLockExceptionMissingMethodExceptionTargetInvocationExceptionpublic NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
NotSupportedException,
InvalidOperationException,
SecurityException,
AccessViolationException,
SynchronizationLockException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionSecurityExceptionAccessViolationExceptionSynchronizationLockExceptionMissingMethodExceptionTargetInvocationExceptionpublic NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction,
int maxNumberOfServerInstances)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
NotSupportedException,
InvalidOperationException,
SecurityException,
AccessViolationException,
SynchronizationLockException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionSecurityExceptionAccessViolationExceptionSynchronizationLockExceptionMissingMethodExceptionTargetInvocationExceptionpublic NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction,
int maxNumberOfServerInstances,
PipeTransmissionMode transmissionMode)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
NotSupportedException,
InvalidOperationException,
SecurityException,
AccessViolationException,
SynchronizationLockException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionSecurityExceptionAccessViolationExceptionSynchronizationLockExceptionMissingMethodExceptionTargetInvocationExceptionpublic NamedPipeServerStream(java.lang.String pipeName,
PipeDirection direction,
int maxNumberOfServerInstances,
PipeTransmissionMode transmissionMode,
PipeOptions options)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
NotSupportedException,
InvalidOperationException,
SecurityException,
AccessViolationException,
SynchronizationLockException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionSecurityExceptionAccessViolationExceptionSynchronizationLockExceptionMissingMethodExceptionTargetInvocationExceptionpublic 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,
NotSupportedException,
InvalidOperationException,
SecurityException,
AccessViolationException,
SynchronizationLockException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionSecurityExceptionAccessViolationExceptionSynchronizationLockExceptionMissingMethodExceptionTargetInvocationExceptionpublic IAsyncResult BeginWaitForConnection(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, InvalidOperationException, IOException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, TaskCanceledException, AggregateException, EventSourceException
public 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,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
public void EndWaitForConnection(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
public java.lang.String GetImpersonationUserName()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
IOException,
OutOfMemoryException
public 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 void RunAsClient(PipeStreamImpersonationWorker impersonationWorker) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IOException, IndexOutOfRangeException, FormatException, OutOfMemoryException
public void setJCOInstance(JCObject instance)
setJCOInstance in class PipeStreampublic void WaitForConnection()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
IOException,
NullReferenceException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException,
TaskSchedulerException,
ThreadStateException,
OperationCanceledException,
TaskCanceledException,
AggregateException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionIOExceptionNullReferenceExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionTaskSchedulerExceptionThreadStateExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionpublic Task WaitForConnectionAsync() throws java.lang.Throwable, ArgumentException, InvalidOperationException, IOException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, ArgumentNullException, OutOfMemoryException, TaskSchedulerException, TaskCanceledException, AggregateException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionIOExceptionPlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionIndexOutOfRangeExceptionArgumentNullExceptionOutOfMemoryExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic Task WaitForConnectionAsync(CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IOException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, FormatException, TaskSchedulerException, TaskCanceledException, AggregateException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIOExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateException