.\" Man page generated from reStructuredText. . . .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 .. .TH "TSACCEPTOR" "3ts" "Apr 16, 2024" "9.2" "Apache Traffic Server" .SH NAME TSAcceptor \- traffic Server API's related to Accept objects .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .EX #include .EE .UNINDENT .UNINDENT .INDENT 0.0 .TP .B \fI\%TSAcceptor\fP TSAcceptorGet(\fI\%TSVConn\fP sslp) .UNINDENT .INDENT 0.0 .TP .B \fI\%TSAcceptor\fP TSAcceptorGetbyID(int id) .UNINDENT .INDENT 0.0 .TP .B int TSAcceptorIDGet(\fI\%TSAcceptor\fP acceptor) .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 (\fI\%TSVConn\fP) for each accepted connection. .sp \fI\%TSAcceptorGet()\fP returns \fI\%TSAcceptor\fP object that created \fIsslp\fP\&. .sp \fI\%TSAcceptorGetbyID()\fP returns the \fI\%TSAcceptor\fP object identified by \fIid\fP\&. \fI\%TSAcceptor\fP represents the acceptor object created by the server. .sp \fI\%TSAcceptorIDGet()\fP returns the Integer number that identifies \fIacceptor\fP\&. All the cloned \fI\%TSAcceptor\fP objects will have the same identifying number. .sp \fI\%TSAcceptorCount()\fP returns the number of \fI\%TSAcceptor\fP objects created by the server. .SH COPYRIGHT 2024, dev@trafficserver.apache.org .\" Generated by docutils manpage writer. .