Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: WebSocketServerTest
Fork of SNICInterface_mod by
Revision 21:dda155fe5048, committed 2014-03-27
- Comitter:
- kishino
- Date:
- Thu Mar 27 07:14:21 2014 +0000
- Parent:
- 20:dd736d328de6
- Child:
- 22:a9ec0cad4f84
- Commit message:
- The change in the internal class friend class
Changed in this revision
--- a/SNIC/SNIC_Core.h Thu Mar 27 06:52:04 2014 +0000
+++ b/SNIC/SNIC_Core.h Thu Mar 27 07:14:21 2014 +0000
@@ -180,7 +180,12 @@
*/
class C_SNIC_Core
{
-public:
+friend class C_SNIC_UartCommandManager;
+friend class C_SNIC_WifiInterface;
+friend class TCPSocketConnection;
+friend class Socket;
+
+private:
/** Get buffer for command from memory pool.
@return Pointer of buffer
--- a/SNIC/SNIC_UartCommandManager.h Thu Mar 27 06:52:04 2014 +0000
+++ b/SNIC/SNIC_UartCommandManager.h Thu Mar 27 07:14:21 2014 +0000
@@ -54,7 +54,12 @@
*/
class C_SNIC_UartCommandManager
{
-public:
+friend class C_SNIC_Core;
+friend class C_SNIC_WifiInterface;
+friend class TCPSocketConnection;
+friend class Socket;
+
+private:
/** Set Command ID
@param cmd_id Command ID
*/
--- a/SNIC/SNIC_UartMsgUtil.h Thu Mar 27 06:52:04 2014 +0000
+++ b/SNIC/SNIC_UartMsgUtil.h Thu Mar 27 07:14:21 2014 +0000
@@ -135,7 +135,9 @@
*/
class C_SNIC_UartMsgUtil
{
-public:
+friend class C_SNIC_Core;
+
+private:
C_SNIC_UartMsgUtil();
/** Make SNIC UART command payload.
