.\" Man page generated from reStructuredText. . .TH "TSACCEPTOR" "3ts" "Mar 08, 2019" "7.1" "Apache Traffic Server" .SH NAME TSAcceptor \- traffic Server API's related to Accept objects . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp \fI#include \fP .INDENT 0.0 .TP .B TSAcceptor TSAcceptorGet(TSVConn\fI\ sslp\fP) .UNINDENT .INDENT 0.0 .TP .B TSAcceptor TSAcceptorGetbyID(int\fI\ id\fP) .UNINDENT .INDENT 0.0 .TP .B int TSAcceptorIDGet(TSAcceptor\fI\ acceptor\fP) .UNINDENT .INDENT 0.0 .TP .B int TSAcceptorCount() .UNINDENT .SH DESCRIPTION .sp Traffic Server allows plugins to get information from an accept object that created a certain TSVConn object using the above mentioned APIs. An acceptor thread listens for incoming connections and creates the virtual connection (\fBTSVConn\fP) for each accepted connection. .sp \fI\%TSAcceptorGet()\fP returns \fBTSAcceptor\fP object that created \fIsslp\fP\&. .sp \fI\%TSAcceptorGetbyID()\fP returns the \fBTSAcceptor\fP object identified by \fIid\fP\&. \fBTSAcceptor\fP represents the acceptor object created by the core traffic server. .sp \fI\%TSAcceptorIDGet()\fP returns the Integer number that identifies \fIacceptor\fP\&. All the cloned \fBTSAcceptor\fP objects will have the same identifying number. .sp \fI\%TSAcceptorCount()\fP returns the number of \fBTSAcceptor\fP objects created by the server. .SH COPYRIGHT 2019, dev@trafficserver.apache.org .\" Generated by docutils manpage writer. .