X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FINet%2FTCPSocketHandle.hh;h=476afad4b423891a370ab21337837f9acd7d22e9;hb=a1fdb7bb122f0b05be809a922d4b7ef5e125fa67;hp=b3293de35b5e4bedecc8d0ca47347684abccb048;hpb=5ed1fa1c42763aebad06c1e4ac8fc5a19e15519a;p=senf.git diff --git a/Socket/Protocols/INet/TCPSocketHandle.hh b/Socket/Protocols/INet/TCPSocketHandle.hh index b3293de..476afad 100644 --- a/Socket/Protocols/INet/TCPSocketHandle.hh +++ b/Socket/Protocols/INet/TCPSocketHandle.hh @@ -1,8 +1,8 @@ // $Id$ // // Copyright (C) 2006 -// Fraunhofer Institute for Open Communication Systems (FOKUS) -// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -27,13 +27,12 @@ protocol interface */ -#ifndef HH_TCPSocketHandle_ -#define HH_TCPSocketHandle_ 1 +#ifndef HH_SENF_Socket_Protocols_INet_TCPSocketHandle_ +#define HH_SENF_Socket_Protocols_INet_TCPSocketHandle_ 1 // Custom includes -#include "../../../Utils/pool_alloc_mixin.hh" -#include "INetProtocol.hh" -#include "TCPProtocol.hh" +#include "INetSocketProtocol.hh" +#include "TCPSocketProtocol.hh" #include "../../../Socket/Protocols/BSDSocketProtocol.hh" #include "../../../Socket/FramingPolicy.hh" #include "../../../Socket/CommunicationPolicy.hh" @@ -65,11 +64,10 @@ namespace senf { \par Policy Interface: ClientSocketHandle::read(), ClientSocketHandle::write(), ClientSocketHandle::bind(), - ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer(), - ClientSocketHandle::rcvbuf(), ClientSocketHandle::sndbuf() + ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer() \par Address Type: - INet4Address + INet4SocketAddress TCPv4SocketProtocol provides an internet protocol stream socket based on the TCP protocol and IPv4 addressing. @@ -80,12 +78,10 @@ namespace senf { \see TCPv6SocketProtocol */ class TCPv4SocketProtocol - : public ConcreteSocketProtocol, - public IPv4Protocol, - public TCPProtocol, + : public ConcreteSocketProtocol, + public TCPSocketProtocol, public BSDSocketProtocol, - public AddressableBSDSocketProtocol, - public senf::pool_alloc_mixin + public AddressableBSDSocketProtocol { public: /////////////////////////////////////////////////////////////////////////// @@ -124,11 +120,6 @@ namespace senf { constructor */ ///@} - ///\name Abstract Interface Implementation - - std::auto_ptr clone() const; - - ///@} }; typedef ProtocolClientSocketHandle TCPv4ClientSocketHandle; @@ -147,11 +138,10 @@ namespace senf { \par Policy Interface: ClientSocketHandle::read(), ClientSocketHandle::write(), ClientSocketHandle::bind(), - ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer(), - ClientSocketHandle::rcvbuf(), ClientSocketHandle::sndbuf() + ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer() \par Address Type: - INet6Address + INet6Address TCPv6SocketProtocol provides an internet protocol stream socket based on the TCP protocol and IPv6 addressing. @@ -162,12 +152,10 @@ namespace senf { \see TCPv4SocketProtocol */ class TCPv6SocketProtocol - : public ConcreteSocketProtocol, - public IPv6Protocol, - public TCPProtocol, + : public ConcreteSocketProtocol, + public TCPSocketProtocol, public BSDSocketProtocol, - public AddressableBSDSocketProtocol, - public senf::pool_alloc_mixin + public AddressableBSDSocketProtocol { public: /////////////////////////////////////////////////////////////////////////// @@ -206,11 +194,6 @@ namespace senf { constructor */ ///@} - ///\name Abstract Interface Implementation - - std::auto_ptr clone() const; - - ///@} }; typedef ProtocolClientSocketHandle TCPv6ClientSocketHandle;