BidirectionalChannel<T>

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.builtin
  • Platforms: .NET, .NET Standard 2.0, Island


 

constructor

 

constructor

 

BidirectionalChannel<T>()

 

init()

 

Sub New()

constructor (Int32)

 

constructor(aQueueSize: Int32)

 

BidirectionalChannel<T>(Int32 aQueueSize)

 

init(_ aQueueSize: Int32)

 

Sub New(aQueueSize As Int32)

Parameters:

  • aQueueSize:

constructor (BidirectionalChannel<T>)

 

constructor(value: BidirectionalChannel<T>)

 

BidirectionalChannel<T>(BidirectionalChannel<T> value)

 

init(_ value: BidirectionalChannel<T>)

 

Sub New(value As BidirectionalChannel<T>)

Parameters:

  • value:

Capacity  virtual

 

property Capacity: Int32 read;

 

Int32 Capacity { get; }

 

var Capacity: Int32 { get{} }

 

Capacity Int32

 

ReadOnly Property Capacity() As Int32

Close

 

method Close

 

void Close()

 

func Close()

 

// .NET, .NET Standard 2.0
func Close() 
// Island
func Close() void

 

Sub Close()

GetSequence

 

method GetSequence: IEnumerable<T>

 

IEnumerable<T> GetSequence()

 

func GetSequence() -> IEnumerable<T>

 

func GetSequence() IEnumerable<T>

 

Function GetSequence() As IEnumerable<T>

Length  virtual

 

property Length: Int32 read;

 

Int32 Length { get; }

 

var Length: Int32 { get{} }

 

Length Int32

 

ReadOnly Property Length() As Int32

Receive

 

method Receive: tuple of (T, Boolean)

 

(T, Boolean) Receive()

 

func Receive() -> (T, Boolean)

 

func Receive() tuple of (T, Boolean)

 

Function Receive() As Tuple (Of T, Boolean)

Send

 

method Send(aVal: T)

 

void Send(T aVal)

 

func Send(_ aVal: T)

 

// .NET, .NET Standard 2.0
func Send(aVal T) 
// Island
func Send(aVal T) void

 

Sub Send(aVal As T)

Parameters:

  • aVal:

TryReceive

 

method TryReceive: IWaitReceiveMessage<T>

 

IWaitReceiveMessage<T> TryReceive()

 

func TryReceive() -> IWaitReceiveMessage<T>

 

func TryReceive() IWaitReceiveMessage<T>

 

Function TryReceive() As IWaitReceiveMessage<T>

TrySend

 

method TrySend(aVal: T): IWaitSendMessage

 

IWaitSendMessage TrySend(T aVal)

 

func TrySend(_ aVal: T) -> IWaitSendMessage

 

func TrySend(aVal T) IWaitSendMessage

 

Function TrySend(aVal As T) As IWaitSendMessage

Parameters:

  • aVal:

Zero

 

class property Zero: BidirectionalChannel<T> read write;

 

class BidirectionalChannel<T> Zero { get; set; }

 

static var Zero: BidirectionalChannel<T> { get{} set{} }

 

Shared Property Zero() As BidirectionalChannel<T>

 

Capacity  virtual

 

property Capacity: Int32 read;

 

Int32 Capacity { get; }

 

var Capacity: Int32 { get{} }

 

Capacity Int32

 

ReadOnly Property Capacity() As Int32

Length  virtual

 

property Length: Int32 read;

 

Int32 Length { get; }

 

var Length: Int32 { get{} }

 

Length Int32

 

ReadOnly Property Length() As Int32

Zero

 

class property Zero: BidirectionalChannel<T> read write;

 

class BidirectionalChannel<T> Zero { get; set; }

 

static var Zero: BidirectionalChannel<T> { get{} set{} }

 

Shared Property Zero() As BidirectionalChannel<T>

 

constructor

 

constructor

 

BidirectionalChannel<T>()

 

init()

 

Sub New()

constructor (Int32)

 

constructor(aQueueSize: Int32)

 

BidirectionalChannel<T>(Int32 aQueueSize)

 

init(_ aQueueSize: Int32)

 

Sub New(aQueueSize As Int32)

Parameters:

  • aQueueSize:

constructor (BidirectionalChannel<T>)

 

constructor(value: BidirectionalChannel<T>)

 

BidirectionalChannel<T>(BidirectionalChannel<T> value)

 

init(_ value: BidirectionalChannel<T>)

 

Sub New(value As BidirectionalChannel<T>)

Parameters:

  • value:

Close

 

method Close

 

void Close()

 

func Close()

 

// .NET, .NET Standard 2.0
func Close() 
// Island
func Close() void

 

Sub Close()

GetSequence

 

method GetSequence: IEnumerable<T>

 

IEnumerable<T> GetSequence()

 

func GetSequence() -> IEnumerable<T>

 

func GetSequence() IEnumerable<T>

 

Function GetSequence() As IEnumerable<T>

Receive

 

method Receive: tuple of (T, Boolean)

 

(T, Boolean) Receive()

 

func Receive() -> (T, Boolean)

 

func Receive() tuple of (T, Boolean)

 

Function Receive() As Tuple (Of T, Boolean)

Send

 

method Send(aVal: T)

 

void Send(T aVal)

 

func Send(_ aVal: T)

 

// .NET, .NET Standard 2.0
func Send(aVal T) 
// Island
func Send(aVal T) void

 

Sub Send(aVal As T)

Parameters:

  • aVal:

TryReceive

 

method TryReceive: IWaitReceiveMessage<T>

 

IWaitReceiveMessage<T> TryReceive()

 

func TryReceive() -> IWaitReceiveMessage<T>

 

func TryReceive() IWaitReceiveMessage<T>

 

Function TryReceive() As IWaitReceiveMessage<T>

TrySend

 

method TrySend(aVal: T): IWaitSendMessage

 

IWaitSendMessage TrySend(T aVal)

 

func TrySend(_ aVal: T) -> IWaitSendMessage

 

func TrySend(aVal T) IWaitSendMessage

 

Function TrySend(aVal As T) As IWaitSendMessage

Parameters:

  • aVal: