public class IReceivableSourceBlock_1Implementation<TOutput extends IJCOBridgeReflected> extends NetObject implements IReceivableSourceBlock_1<TOutput>
.NET documentation at https://microsoft.com
Powered by JCOBridge: more info at https://jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Threading.Tasks.Dataflow, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Threading.Tasks.Dataflow
|
static java.lang.String |
className
Qualified class name: System.Threading.Tasks.Dataflow.IReceivableSourceBlock`1
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
IReceivableSourceBlock_1Implementation(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static IReceivableSourceBlock_1Implementation |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into IReceivableSourceBlock_1, a cast assert is made to check if types are compatible. |
void |
Complete()
Invokes the .NET member Complete.
|
TOutput |
ConsumeMessage(DataflowMessageHeader messageHeader,
ITargetBlock_1 target,
JCORefOut<java.util.concurrent.atomic.AtomicBoolean> messageConsumed)
Invokes the .NET member ConsumeMessage.
|
void |
Fault(NetException exception)
Invokes the .NET member Fault.
|
Task |
getCompletion()
Gets the value of the .NET property Completion.
|
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. |
IDisposable |
LinkTo(ITargetBlock_1 target,
DataflowLinkOptions linkOptions)
Invokes the .NET member LinkTo.
|
void |
ReleaseReservation(DataflowMessageHeader messageHeader,
ITargetBlock_1 target)
Invokes the .NET member ReleaseReservation.
|
boolean |
ReserveMessage(DataflowMessageHeader messageHeader,
ITargetBlock_1 target)
Invokes the .NET member ReserveMessage.
|
boolean |
TryReceive(Predicate_1 filter,
JCORefOut<TOutput> item)
Invokes the .NET member TryReceive.
|
boolean |
TryReceiveAll(JCORefOut<IList_1> items)
Invokes the .NET member TryReceiveAll.
|
Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToStringToIReceivableSourceBlock_1ToISourceBlock_1ToIDataflowBlockpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public IReceivableSourceBlock_1Implementation(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 static IReceivableSourceBlock_1Implementation cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into IReceivableSourceBlock_1, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedIReceivableSourceBlock_1 instancejava.lang.Throwable - in case of error during cast operationpublic void Complete()
throws java.lang.Throwable
Complete in interface IDataflowBlockjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic TOutput ConsumeMessage(DataflowMessageHeader messageHeader, ITargetBlock_1 target, JCORefOut<java.util.concurrent.atomic.AtomicBoolean> messageConsumed) throws java.lang.Throwable
ConsumeMessage in interface ISourceBlock_1<TOutput extends IJCOBridgeReflected>messageHeader - the argument of type DataflowMessageHeadertarget - the argument of type ITargetBlock_1messageConsumed - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicBoolean>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Fault(NetException exception) throws java.lang.Throwable
Fault in interface IDataflowBlockexception - the argument of type NetExceptionjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Task getCompletion() throws java.lang.Throwable
getCompletion in interface IDataflowBlockjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IDataflowBlockgetJCOAssemblyName in interface IReceivableSourceBlock_1<TOutput extends IJCOBridgeReflected>getJCOAssemblyName in interface ISourceBlock_1<TOutput extends IJCOBridgeReflected>getJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDataflowBlockgetJCOClassName in interface IReceivableSourceBlock_1<TOutput extends IJCOBridgeReflected>getJCOClassName in interface ISourceBlock_1<TOutput extends IJCOBridgeReflected>getJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDataflowBlockgetJCOInstance in interface IReceivableSourceBlock_1<TOutput extends IJCOBridgeReflected>getJCOInstance in interface ISourceBlock_1<TOutput extends IJCOBridgeReflected>getJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDataflowBlockgetJCOObjectName in interface IReceivableSourceBlock_1<TOutput extends IJCOBridgeReflected>getJCOObjectName in interface ISourceBlock_1<TOutput extends IJCOBridgeReflected>getJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDataflowBlockgetJCOType in interface IReceivableSourceBlock_1<TOutput extends IJCOBridgeReflected>getJCOType in interface ISourceBlock_1<TOutput extends IJCOBridgeReflected>getJCOType in class NetObjectpublic IDisposable LinkTo(ITargetBlock_1 target, DataflowLinkOptions linkOptions) throws java.lang.Throwable
LinkTo in interface ISourceBlock_1<TOutput extends IJCOBridgeReflected>target - the argument of type ITargetBlock_1linkOptions - the argument of type DataflowLinkOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void ReleaseReservation(DataflowMessageHeader messageHeader, ITargetBlock_1 target) throws java.lang.Throwable
ReleaseReservation in interface ISourceBlock_1<TOutput extends IJCOBridgeReflected>messageHeader - the argument of type DataflowMessageHeadertarget - the argument of type ITargetBlock_1java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean ReserveMessage(DataflowMessageHeader messageHeader, ITargetBlock_1 target) throws java.lang.Throwable
ReserveMessage in interface ISourceBlock_1<TOutput extends IJCOBridgeReflected>messageHeader - the argument of type DataflowMessageHeadertarget - the argument of type ITargetBlock_1java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean TryReceive(Predicate_1 filter, JCORefOut<TOutput> item) throws java.lang.Throwable
TryReceive in interface IReceivableSourceBlock_1<TOutput extends IJCOBridgeReflected>filter - the argument of type Predicate_1item - the argument of type JCORefOut<TOutput>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean TryReceiveAll(JCORefOut<IList_1> items) throws java.lang.Throwable
TryReceiveAll in interface IReceivableSourceBlock_1<TOutput extends IJCOBridgeReflected>items - the argument of type JCORefOut<IList_1>java.lang.Throwable - if the call fails in the bridge or in the CLR