SNode.C
Loading...
Searching...
No Matches
net::l2::phy::stream::PhysicalSocket< PhysicalPeerSocketT > Class Template Reference

#include <PhysicalSocket.h>

Inheritance diagram for net::l2::phy::stream::PhysicalSocket< PhysicalPeerSocketT >:
Collaboration diagram for net::l2::phy::stream::PhysicalSocket< PhysicalPeerSocketT >:

Public Types

using Super = net::l2::phy::PhysicalSocket<PhysicalPeerSocketT>
 
- Public Types inherited from net::l2::phy::PhysicalSocket< PhysicalPeerSocketT >
using Super = PhysicalPeerSocketT<net::l2::SocketAddress>
 

Public Member Functions

 PhysicalSocket ()
 
 PhysicalSocket (PhysicalSocket &&) noexcept=default
 
 ~PhysicalSocket () override
 
int shutdown (typename Super::SHUT how)
 
- Public Member Functions inherited from net::l2::phy::PhysicalSocket< PhysicalPeerSocketT >
 PhysicalSocket (int type, int protocol)
 
 PhysicalSocket (PhysicalSocket &&) noexcept=default
 
 ~PhysicalSocket () override
 

Detailed Description

template<template< typename SocketAddressT > typename PhysicalPeerSocketT>
class net::l2::phy::stream::PhysicalSocket< PhysicalPeerSocketT >

Definition at line 33 of file PhysicalSocket.h.

Member Typedef Documentation

◆ Super

template<template< typename SocketAddressT > typename PhysicalPeerSocketT>
using net::l2::phy::stream::PhysicalSocket< PhysicalPeerSocketT >::Super = net::l2::phy::PhysicalSocket<PhysicalPeerSocketT>

Definition at line 35 of file PhysicalSocket.h.

Constructor & Destructor Documentation

◆ PhysicalSocket() [1/2]

template<template< typename SocketAddress > typename PhysicalPeerSocket>
net::l2::phy::stream::PhysicalSocket< PhysicalPeerSocket >::PhysicalSocket ( )

Definition at line 30 of file PhysicalSocket.hpp.

31 : Super(SOCK_STREAM, BTPROTO_L2CAP) {
32 }
net::l2::phy::PhysicalSocket< PhysicalPeerSocketT > Super

◆ PhysicalSocket() [2/2]

template<template< typename SocketAddressT > typename PhysicalPeerSocketT>
net::l2::phy::stream::PhysicalSocket< PhysicalPeerSocketT >::PhysicalSocket ( PhysicalSocket< PhysicalPeerSocketT > && )
defaultnoexcept

◆ ~PhysicalSocket()

template<template< typename SocketAddress > typename PhysicalPeerSocket>
net::l2::phy::stream::PhysicalSocket< PhysicalPeerSocket >::~PhysicalSocket ( )
override

Definition at line 35 of file PhysicalSocket.hpp.

35 {
36 }

Member Function Documentation

◆ shutdown()

template<template< typename SocketAddress > typename PhysicalPeerSocket>
int net::l2::phy::stream::PhysicalSocket< PhysicalPeerSocket >::shutdown ( typename Super::SHUT how)

Definition at line 39 of file PhysicalSocket.hpp.

39 {
40 return Super::shutdown(Super::SHUT::RDWR); // always shutdown L2CAP sockets for RDWR
41 }

The documentation for this class was generated from the following files: