Documentation
¶
Index ¶
- type BIPBBMDApplication
- type BIPBBMDNode
- type BIPBBMDStateMachine
- type BIPForeignStateMachine
- type BIPSimpleApplicationLayerStateMachine
- func (b *BIPSimpleApplicationLayerStateMachine) Confirmation(args Args, kwArgs KWArgs) error
- func (b *BIPSimpleApplicationLayerStateMachine) Indication(args Args, kwArgs KWArgs) error
- func (d *BIPSimpleApplicationLayerStateMachine) Serialize() ([]byte, error)
- func (d *BIPSimpleApplicationLayerStateMachine) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (d *BIPSimpleApplicationLayerStateMachine) String() string
- type BIPSimpleNode
- type BIPSimpleStateMachine
- type BIPStateMachine
- type FauxMultiplexer
- func (s *FauxMultiplexer) Confirmation(args Args, kwArgs KWArgs) error
- func (s *FauxMultiplexer) Indication(args Args, kwArgs KWArgs) error
- func (d *FauxMultiplexer) Serialize() ([]byte, error)
- func (d *FauxMultiplexer) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
- func (d *FauxMultiplexer) String() string
- type SnifferStateMachine
- type TestDeviceObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BIPBBMDApplication ¶
type BIPBBMDApplication struct { *Application *WhoIsIAmServices *ReadWritePropertyServices // contains filtered or unexported fields }
func NewBIPBBMDApplication ¶
func NewBIPBBMDApplication(localLog zerolog.Logger, address string, vlan *IPNetwork) (*BIPBBMDApplication, error)
type BIPBBMDNode ¶
type BIPBBMDNode struct {
// contains filtered or unexported fields
}
func NewBIPBBMDNode ¶
func NewBIPBBMDNode(localLog zerolog.Logger, address string, vlan *IPNetwork) (*BIPBBMDNode, error)
type BIPBBMDStateMachine ¶
type BIPBBMDStateMachine struct { *ClientStateMachine // contains filtered or unexported fields }
func NewBIPBBMDStateMachine ¶
func NewBIPBBMDStateMachine(localLog zerolog.Logger, address string, vlan *IPNetwork) (*BIPBBMDStateMachine, error)
type BIPForeignStateMachine ¶
type BIPForeignStateMachine struct { *ClientStateMachine // contains filtered or unexported fields }
BIPForeignStateMachine sits on a BIPForeign instance, the send() and receive()
parameters are NPDUs.
func NewBIPForeignStateMachine ¶
func NewBIPForeignStateMachine(localLog zerolog.Logger, address string, vlan *IPNetwork) (*BIPForeignStateMachine, error)
type BIPSimpleApplicationLayerStateMachine ¶
type BIPSimpleApplicationLayerStateMachine struct { ApplicationServiceElementContract *ClientStateMachine // contains filtered or unexported fields }
func NewBIPSimpleApplicationLayerStateMachine ¶
func NewBIPSimpleApplicationLayerStateMachine(localLog zerolog.Logger, address string, vlan *IPNetwork) (*BIPSimpleApplicationLayerStateMachine, error)
func (*BIPSimpleApplicationLayerStateMachine) Confirmation ¶
func (b *BIPSimpleApplicationLayerStateMachine) Confirmation(args Args, kwArgs KWArgs) error
func (*BIPSimpleApplicationLayerStateMachine) Indication ¶
func (b *BIPSimpleApplicationLayerStateMachine) Indication(args Args, kwArgs KWArgs) error
func (*BIPSimpleApplicationLayerStateMachine) Serialize ¶
func (d *BIPSimpleApplicationLayerStateMachine) Serialize() ([]byte, error)
func (*BIPSimpleApplicationLayerStateMachine) SerializeWithWriteBuffer ¶
func (d *BIPSimpleApplicationLayerStateMachine) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
func (*BIPSimpleApplicationLayerStateMachine) String ¶
func (d *BIPSimpleApplicationLayerStateMachine) String() string
type BIPSimpleNode ¶
type BIPSimpleNode struct {
// contains filtered or unexported fields
}
func NewBIPSimpleNode ¶
func NewBIPSimpleNode(localLog zerolog.Logger, address string, vlan *IPNetwork) (*BIPSimpleNode, error)
type BIPSimpleStateMachine ¶
type BIPSimpleStateMachine struct { *ClientStateMachine // contains filtered or unexported fields }
func NewBIPSimpleStateMachine ¶
func NewBIPSimpleStateMachine(localLog zerolog.Logger, netstring string, vlan *IPNetwork) (*BIPSimpleStateMachine, error)
type BIPStateMachine ¶
type BIPStateMachine struct { *ClientStateMachine // contains filtered or unexported fields }
BIPStateMachine is an application layer for BVLL messages that has no BVLL
processing like the 'simple', 'foreign', or 'bbmd' versions. The client state machine sits above and Annex-J codec so the send and receive PDUs are BVLL PDUs.
func NewBIPStateMachine ¶
func NewBIPStateMachine(localLog zerolog.Logger, address string, vlan *IPNetwork) (*BIPStateMachine, error)
type FauxMultiplexer ¶
type FauxMultiplexer struct { ClientContract ServerContract *DefaultRFormatter `ignore:"true"` // contains filtered or unexported fields }
func NewFauxMultiplexer ¶
func NewFauxMultiplexer(localLog zerolog.Logger, addr *Address, network *IPNetwork) (*FauxMultiplexer, error)
func (*FauxMultiplexer) Confirmation ¶
func (s *FauxMultiplexer) Confirmation(args Args, kwArgs KWArgs) error
func (*FauxMultiplexer) Indication ¶
func (s *FauxMultiplexer) Indication(args Args, kwArgs KWArgs) error
func (*FauxMultiplexer) Serialize ¶
func (d *FauxMultiplexer) Serialize() ([]byte, error)
func (*FauxMultiplexer) SerializeWithWriteBuffer ¶
func (d *FauxMultiplexer) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error
func (*FauxMultiplexer) String ¶
func (d *FauxMultiplexer) String() string
type SnifferStateMachine ¶
type SnifferStateMachine struct { *ClientStateMachine // contains filtered or unexported fields }
func NewSnifferStateMachine ¶
func NewSnifferStateMachine(localLog zerolog.Logger, address string, vlan *IPNetwork) (*SnifferStateMachine, error)
type TestDeviceObject ¶
type TestDeviceObject struct {
LocalDeviceObject
}
func NewTestDeviceObject ¶
func NewTestDeviceObject(args Args, kwArgs KWArgs, options ...Option) (*TestDeviceObject, error)
Source Files
¶
- helpers.go
- helpers_BIPBBMDApplication.go
- helpers_BIPBBMDNode.go
- helpers_BIPBBMDStateMachine.go
- helpers_BIPForeignStateMachine.go
- helpers_BIPSimpleApplicationLayerStateMachine.go
- helpers_BIPSimpleApplicationLayerStateMachine_plc4xgen.go
- helpers_BIPSimpleNode.go
- helpers_BIPSimpleStateMachine.go
- helpers_BIPStateMachine.go
- helpers_FauxMultiplexer.go
- helpers_FauxMultiplexer_plc4xgen.go
- helpers_SnifferStateMachine.go
- helpers__NetworkServiceElement.go
Click to show internal directories.
Click to hide internal directories.