Class SessionInfo¶
Defined in File SessionInfo.h
Inheritance Relationships¶
Base Type¶
public eipScanner::SessionInfoIf(Class SessionInfoIf)
Class Documentation¶
-
class
SessionInfo: public eipScanner::SessionInfoIf¶ Implementation of EIP session.
Public Types
-
using
SPtr= std::shared_ptr<SessionInfo>¶
Public Functions
-
SessionInfo(const std::string &host, int port, const std::chrono::milliseconds &timeout)¶ Establishes an EIP session with an EIP adapter.
- Parameters
host: The IP address of the adapterport: The port of the adaptertimeout: timout to connect and receive the response
- Exceptions
std::runtime_error:std::system_error:
-
SessionInfo(const std::string &host, int port)¶ Establishes an EIP session with an EIP adapter.
- Parameters
host: The IP address of the adapterport: The port of the adapter
- Exceptions
std::runtime_error:std::system_error:
-
~SessionInfo()¶ Default destructor.
-
EncapsPacket
sendAndReceive(const eip::EncapsPacket &packet) const¶ - See
- Return
- Parameters
packet:
-
using