client-cpp  0.6.1
kaa::AbstractServerInfo< Type > Class Template Reference

#include <AbstractServerInfo.hpp>

+ Inheritance diagram for kaa::AbstractServerInfo< Type >:
+ Collaboration diagram for kaa::AbstractServerInfo< Type >:

Public Member Functions

 AbstractServerInfo (ServerType type, const std::string &host, const std::int32_t &port, const std::string &encodedPublicKey)
 
 AbstractServerInfo (ServerType type, const std::string &hostPort, const std::string &encodedPublicKey)
 
 AbstractServerInfo (ServerType type, const std::string &host, const std::int32_t &port, const Botan::MemoryVector< std::uint8_t > &publicKey)
 
virtual const std::string & getHost () const
 
virtual std::uint16_t getPort () const
 
virtual const
Botan::MemoryVector
< std::uint8_t > & 
getPublicKey () const
 
virtual HttpUrl getUrl () const
 
virtual ChannelType getChannelType () const
 
virtual ServerType getServerType () const
 
virtual ~AbstractServerInfo ()
 
- Public Member Functions inherited from kaa::IServerInfo
virtual ~IServerInfo ()
 

Detailed Description

template<ChannelType Type>
class kaa::AbstractServerInfo< Type >

Definition at line 37 of file AbstractServerInfo.hpp.

Constructor & Destructor Documentation

template<ChannelType Type>
kaa::AbstractServerInfo< Type >::AbstractServerInfo ( ServerType  type,
const std::string &  host,
const std::int32_t &  port,
const std::string &  encodedPublicKey 
)

Definition at line 96 of file AbstractServerInfo.hpp.

template<ChannelType Type>
kaa::AbstractServerInfo< Type >::AbstractServerInfo ( ServerType  type,
const std::string &  hostPort,
const std::string &  encodedPublicKey 
)

Definition at line 104 of file AbstractServerInfo.hpp.

template<ChannelType Type>
kaa::AbstractServerInfo< Type >::AbstractServerInfo ( ServerType  type,
const std::string &  host,
const std::int32_t &  port,
const Botan::MemoryVector< std::uint8_t > &  publicKey 
)

Definition at line 129 of file AbstractServerInfo.hpp.

template<ChannelType Type>
virtual kaa::AbstractServerInfo< Type >::~AbstractServerInfo ( )
inlinevirtual

Definition at line 73 of file AbstractServerInfo.hpp.

Member Function Documentation

template<ChannelType Type>
virtual ChannelType kaa::AbstractServerInfo< Type >::getChannelType ( ) const
inlinevirtual

Retrieves channel type supported by the server

See also
ChannelType

Implements kaa::IServerInfo.

Definition at line 65 of file AbstractServerInfo.hpp.

template<ChannelType Type>
virtual const std::string& kaa::AbstractServerInfo< Type >::getHost ( ) const
inlinevirtual

Definition at line 47 of file AbstractServerInfo.hpp.

template<ChannelType Type>
virtual std::uint16_t kaa::AbstractServerInfo< Type >::getPort ( ) const
inlinevirtual

Definition at line 51 of file AbstractServerInfo.hpp.

template<ChannelType Type>
virtual const Botan::MemoryVector<std::uint8_t>& kaa::AbstractServerInfo< Type >::getPublicKey ( ) const
inlinevirtual

Definition at line 55 of file AbstractServerInfo.hpp.

template<ChannelType Type>
virtual ServerType kaa::AbstractServerInfo< Type >::getServerType ( ) const
inlinevirtual

Retrieves server type

See also
ServerType

Implements kaa::IServerInfo.

Definition at line 69 of file AbstractServerInfo.hpp.

template<ChannelType Type>
virtual HttpUrl kaa::AbstractServerInfo< Type >::getUrl ( ) const
inlinevirtual

Reimplemented in kaa::HttpServerInfo, kaa::HttpLPServerInfo, and kaa::KaaTcpServerInfo.

Definition at line 59 of file AbstractServerInfo.hpp.


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