Documentation
¶
Overview ¶
********************************************************************
- Copyright (c) Intel Corporation 2022
- SPDX-License-Identifier: Apache-2.0 *********************************************************************
********************************************************************
- Copyright (c) Intel Corporation 2022
- SPDX-License-Identifier: Apache-2.0 *********************************************************************
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LMEConnection ¶
type LMEConnection struct {
Command pthi.Command
Session *apf.Session
// contains filtered or unexported fields
}
LMConnection is struct for managing connection to LMS
func NewLMEConnection ¶
func NewLMEConnection(data chan []byte, errors chan error, wg *sync.WaitGroup) *LMEConnection
func (*LMEConnection) Close ¶
func (lme *LMEConnection) Close() error
Close closes the LME connection
func (*LMEConnection) Connect ¶
func (lme *LMEConnection) Connect() error
Connect initializes connection to LME via MEI Driver
func (*LMEConnection) Initialize ¶
func (lme *LMEConnection) Initialize() error
func (*LMEConnection) Listen ¶
func (lme *LMEConnection) Listen()
Listen reads data from the LMS socket connection
func (*LMEConnection) Send ¶
func (lme *LMEConnection) Send(data []byte) error
Send writes data to LMS TCP Socket
type LMSConnection ¶
LMConnection is struct for managing connection to LMS
func NewLMSConnection ¶
func NewLMSConnection(address string, port string, data chan []byte, errors chan error) *LMSConnection
func (*LMSConnection) Close ¶
func (lms *LMSConnection) Close() error
Close closes the LMS socket connection
func (*LMSConnection) Connect ¶
func (lms *LMSConnection) Connect() error
Connect initializes TCP connection to LMS
func (*LMSConnection) Initialize ¶
func (lms *LMSConnection) Initialize() error
func (*LMSConnection) Listen ¶
func (lms *LMSConnection) Listen()
Listen reads data from the LMS socket connection
func (*LMSConnection) Send ¶
func (lms *LMSConnection) Send(data []byte) error
Send writes data to LMS TCP Socket
Click to show internal directories.
Click to hide internal directories.