public class IPropagatorBlock_2Implementation<TInput extends IJCOBridgeReflected,TOutput extends IJCOBridgeReflected> extends NetObject implements IPropagatorBlock_2<TInput,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.IPropagatorBlock`2
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
IPropagatorBlock_2Implementation(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static IPropagatorBlock_2Implementation |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into IPropagatorBlock_2, 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.
|
DataflowMessageStatus |
OfferMessage(DataflowMessageHeader messageHeader,
TInput messageValue,
ISourceBlock_1 source,
boolean consumeToAccept)
Invokes the .NET member OfferMessage.
|
void |
ReleaseReservation(DataflowMessageHeader messageHeader,
ITargetBlock_1 target)
Invokes the .NET member ReleaseReservation.
|
boolean |
ReserveMessage(DataflowMessageHeader messageHeader,
ITargetBlock_1 target)
Invokes the .NET member ReserveMessage.
|
Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToStringToIPropagatorBlock_2ToITargetBlock_1ToISourceBlock_1public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public IPropagatorBlock_2Implementation(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 IPropagatorBlock_2Implementation cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into IPropagatorBlock_2, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedIPropagatorBlock_2 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 IPropagatorBlock_2<TInput extends IJCOBridgeReflected,TOutput extends IJCOBridgeReflected>getJCOAssemblyName in interface ISourceBlock_1<TOutput extends IJCOBridgeReflected>getJCOAssemblyName in interface ITargetBlock_1<TInput extends IJCOBridgeReflected>getJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDataflowBlockgetJCOClassName in interface IPropagatorBlock_2<TInput extends IJCOBridgeReflected,TOutput extends IJCOBridgeReflected>getJCOClassName in interface ISourceBlock_1<TOutput extends IJCOBridgeReflected>getJCOClassName in interface ITargetBlock_1<TInput extends IJCOBridgeReflected>getJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDataflowBlockgetJCOInstance in interface IPropagatorBlock_2<TInput extends IJCOBridgeReflected,TOutput extends IJCOBridgeReflected>getJCOInstance in interface ISourceBlock_1<TOutput extends IJCOBridgeReflected>getJCOInstance in interface ITargetBlock_1<TInput extends IJCOBridgeReflected>getJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDataflowBlockgetJCOObjectName in interface IPropagatorBlock_2<TInput extends IJCOBridgeReflected,TOutput extends IJCOBridgeReflected>getJCOObjectName in interface ISourceBlock_1<TOutput extends IJCOBridgeReflected>getJCOObjectName in interface ITargetBlock_1<TInput extends IJCOBridgeReflected>getJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDataflowBlockgetJCOType in interface IPropagatorBlock_2<TInput extends IJCOBridgeReflected,TOutput extends IJCOBridgeReflected>getJCOType in interface ISourceBlock_1<TOutput extends IJCOBridgeReflected>getJCOType in interface ITargetBlock_1<TInput 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 DataflowMessageStatus OfferMessage(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock_1 source, boolean consumeToAccept) throws java.lang.Throwable
OfferMessage in interface ITargetBlock_1<TInput extends IJCOBridgeReflected>messageHeader - the argument of type DataflowMessageHeadermessageValue - the argument of type TInputsource - the argument of type ISourceBlock_1consumeToAccept - the argument of type booleanjava.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 CLR