MCPcopy Create free account
hub / github.com/SoarGroup/Soar / AttachConnectionInternal

Method AttachConnectionInternal

Core/ConnectionSML/src/sml_EmbeddedConnection.cpp:177–182  ·  view source on GitHub ↗

* @brief Each side of the communication (client and kernel) will * have an EmbeddedConnection object. * * This function is used to link the two together * (e.g. this tells the client which object in the kernel to * use when sending a command to the kernel). *************************************************************/

Source from the content-addressed store, hash-verified

175* use when sending a command to the kernel).
176*************************************************************/
177void EmbeddedConnection::AttachConnectionInternal(Connection_Receiver_Handle hConnection, ProcessMessageFunction pProcessMessage)
178{
179 ClearError() ;
180 m_hConnection = hConnection ;
181 m_pProcessMessageFunction = pProcessMessage ;
182}
183
184/*************************************************************
185* @brief Returns true if this connection has been closed or

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected