handler_stream


The os_handler_stream class contains an unbounded os_tcp_socket object member. The TCP socket object returned by tcp_socket() method can be used either on the accept side of a server socket or on the connect side of a client socket. It is typically used in implementing service handler classes for the os_tcp_acceptor and os_tcp_connector classes.

Library

Framework<ToolKit>

Declaration

#include <ospace/framework/hndlrstrm.h>

class os_handler_stream

Interface

Constructor
os_handler_stream()
Constructs a handler stream with an unbounded socket object of type os_tcp_socket .
Destructor
/* virtual */ ~os_handler_stream()
Destroys the socket object.
tcp_socket
os_tcp_socket& tcp_socket()
Returns the os_tcp_socket object. It is an accessor method used by the os_tcp_acceptor and os_tcp_connector classes for connection establishment on both ends.

Copyright©1994-2026 Recursion Software LLC
All Rights Reserved - For use by licensed users only.