subscriber work
This commit is contained in:
1 parent
9b9e12d03c
commit
b0118cfc56
38 files changed
+101
-115
No files matched your search
@@ -38,7 +38,7 @@ int \mbox{\hyperlink{classcore_1_1Socket_a06ba54744530439d4131e6aba4623d08}{get\
|
||||
\begin{DoxyCompactList}\small\item\em Get the descriptor for the socket. \end{DoxyCompactList}\item
|
||||
bool \mbox{\hyperlink{classcore_1_1Socket_a1a045e15fb5851d666a21be05ac4c5d7}{event\+Received}} (struct epoll\+\_\+event event, long long event\+Id)
|
||||
\begin{DoxyCompactList}\small\item\em Parse epoll event and call specified callbacks. \end{DoxyCompactList}\item
|
||||
int \mbox{\hyperlink{classcore_1_1Socket_a542ef2d6be9997aa98cfae3e72c66b4a}{write}} (std\+::string data, \mbox{\hyperlink{classcore_1_1Socket}{Socket}} $\ast$sender=NULL)
|
||||
int \mbox{\hyperlink{classcore_1_1Socket_a1413c826307ef0f29d7457770af675e3}{write}} (std\+::string data)
|
||||
\item
|
||||
\mbox{\Hypertarget{classcore_1_1Socket_a4855594af113428eacdaa7448d661121}\label{classcore_1_1Socket_a4855594af113428eacdaa7448d661121}}
|
||||
void {\bfseries write} (char $\ast$buffer, int length)
|
||||
@@ -215,11 +215,11 @@ set\+Descriptor establishes the file descriptor for the socket and registers the
|
||||
\doxysubsubsection{\texorpdfstring{shutdown()}{shutdown()}}
|
||||
{\footnotesize\ttfamily void core\+::\+Socket\+::shutdown (\begin{DoxyParamCaption}\item[{std\+::string}]{text = {\ttfamily \char`\"{}unknown\char`\"{}} }\end{DoxyParamCaption})}
|
||||
|
||||
Use the \mbox{\hyperlink{classcore_1_1Socket_af2d1b6de7a64a9d446b0305b6ec47b31}{shutdown()}} method to terminate the socket connection and remove resources. This method is provided to ensure that all destructors are called for all inherited objects with a virtual destructor. \mbox{\Hypertarget{classcore_1_1Socket_a542ef2d6be9997aa98cfae3e72c66b4a}\label{classcore_1_1Socket_a542ef2d6be9997aa98cfae3e72c66b4a}}
|
||||
Use the \mbox{\hyperlink{classcore_1_1Socket_af2d1b6de7a64a9d446b0305b6ec47b31}{shutdown()}} method to terminate the socket connection and remove resources. This method is provided to ensure that all destructors are called for all inherited objects with a virtual destructor. \mbox{\Hypertarget{classcore_1_1Socket_a1413c826307ef0f29d7457770af675e3}\label{classcore_1_1Socket_a1413c826307ef0f29d7457770af675e3}}
|
||||
\index{core::Socket@{core::Socket}!write@{write}}
|
||||
\index{write@{write}!core::Socket@{core::Socket}}
|
||||
\doxysubsubsection{\texorpdfstring{write()}{write()}}
|
||||
{\footnotesize\ttfamily int core\+::\+Socket\+::write (\begin{DoxyParamCaption}\item[{std\+::string}]{data, }\item[{\mbox{\hyperlink{classcore_1_1Socket}{Socket}} $\ast$}]{sender = {\ttfamily NULL} }\end{DoxyParamCaption})}
|
||||
{\footnotesize\ttfamily int core\+::\+Socket\+::write (\begin{DoxyParamCaption}\item[{std\+::string}]{data }\end{DoxyParamCaption})}
|
||||
|
||||
Write data to the socket.
|
||||
|
||||
|
||||
Reference in new issue
Block a user