Class SessionInfoIf

Inheritance Relationships

Derived Type

Class Documentation

class SessionInfoIf

Abstract interface for EIP session.

Subclassed by eipScanner::SessionInfo

Public Types

using SPtr = std::shared_ptr<SessionInfoIf>

Public Functions

virtual eip::EncapsPacket sendAndReceive(const eip::EncapsPacket &packet) const = 0

Sends and receives EIP Encapsulation packet

Return

the received EIP Encapsulation packet

Parameters
  • packet: the EIP Encapsulation packet to send

virtual cip::CipUdint getSessionHandle() const = 0

Gets the handle of the current EIP session

Return

virtual sockets::EndPoint getRemoteEndPoint() const = 0

Gets the address of the EIP adapter which the session is established with

Return