KNuc

package
v0.0.0-...-16d0631 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const A = "A"
View Source
const B = "B"
View Source
const S = "S"

Variables

This section is empty.

Functions

This section is empty.

Types

type A_1

type A_1 struct {
	// contains filtered or unexported fields
}

*************************************************************************** *********** A API ********************************************************* ***************************************************************************

func (*A_1) SendS

func (ini *A_1) SendS(pl []int) *A_2

type A_2

type A_2 struct {
	// contains filtered or unexported fields
}

*************************************************************************** *********** A API ********************************************************* ***************************************************************************

func (*A_2) SendB

func (ini *A_2) SendB(pl []string) *A_3

type A_3

type A_3 struct {
	// contains filtered or unexported fields
}

*************************************************************************** *********** A API ********************************************************* ***************************************************************************

func (*A_3) RecvS

func (ini *A_3) RecvS() *A_4

type A_4

type A_4 struct {
	Val []int
	// contains filtered or unexported fields
}

*************************************************************************** *********** A API ********************************************************* ***************************************************************************

func (*A_4) RecvB

func (ini *A_4) RecvB() *A_End

type A_End

type A_End struct {
	Val []string
}

*************************************************************************** *********** A API ********************************************************* ***************************************************************************

type A_Init

type A_Init struct {
	// contains filtered or unexported fields
}

*************************************************************************** *********** A API ********************************************************* ***************************************************************************

func NewA

func NewA(id, numA, numS, numB int) (*A_Init, error)

func (*A_Init) Ept

func (ini *A_Init) Ept() *session.Endpoint

func (*A_Init) Init

func (ini *A_Init) Init() (*A_1, error)

func (*A_Init) Run

func (ini *A_Init) Run(f func(*A_1) *A_End)

type B_1

type B_1 struct {
	// contains filtered or unexported fields
}

func (*B_1) Recv_BA

func (ini *B_1) Recv_BA() *B_2

type B_2

type B_2 struct {
	Val string
	// contains filtered or unexported fields
}

func (*B_2) Send_BA

func (ini *B_2) Send_BA(pl string) *B_End

type B_End

type B_End struct {
}

type B_Init

type B_Init struct {
	// contains filtered or unexported fields
}

func NewB

func NewB(id, numB, numA int) (*B_Init, error)

func (*B_Init) Ept

func (ini *B_Init) Ept() *session.Endpoint

func (*B_Init) Init

func (ini *B_Init) Init() (*B_1, error)

func (*B_Init) Run

func (ini *B_Init) Run(f func(*B_1) *B_End)

type S_1

type S_1 struct {
	// contains filtered or unexported fields
}

func (*S_1) Recv_SA

func (ini *S_1) Recv_SA() *S_2

type S_2

type S_2 struct {
	Val int
	// contains filtered or unexported fields
}

func (*S_2) Send_SA

func (ini *S_2) Send_SA(s int) *S_End

type S_End

type S_End struct {
}

type S_Init

type S_Init struct {
	// contains filtered or unexported fields
}

func NewS

func NewS(id, numS, numA int) (*S_Init, error)

func (*S_Init) Ept

func (ini *S_Init) Ept() *session.Endpoint

func (*S_Init) Init

func (ini *S_Init) Init() (*S_1, error)

func (*S_Init) Run

func (ini *S_Init) Run(f func(*S_1) *S_End)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL