Eris  1.4.0
TransferInfo.h
1 #ifndef ERIS_TRANSFERINFO_H
2 #define ERIS_TRANSFERINFO_H
3 
4 #include <string>
5 
6 namespace Eris
7 {
8 
17 {
18 public:
26  TransferInfo(const std::string &host, int port, const std::string &key, const std::string &id);
27 
32  const std::string & getHost() const;
33 
38  int getPort() const;
39 
44  const std::string & getPossessKey() const;
45 
50  const std::string & getPossessEntityId() const;
51 
52 private:
53  std::string m_host;
54  int m_port;
55  std::string m_possess_key;
56  std::string m_possess_entity_id;
57 
58 };
59 
60 }
61 
62 #endif
Every Eris class and type lives inside the Eris namespace; certain utility functions live in the Util...
Definition: Account.cpp:34
TransferInfo(const std::string &host, int port, const std::string &key, const std::string &id)
Ctor.
Definition: TransferInfo.cpp:6
A TransferInfo object represents the encapsulation of various data required to successfully transfer ...
Definition: TransferInfo.h:16
const std::string & getPossessKey() const
Get the one-time generated possess key (used for claiming ownership)
Definition: TransferInfo.cpp:25
int getPort() const
Get the connection port of the transfer destination server.
Definition: TransferInfo.cpp:20
const std::string & getHost() const
Get the hostname of the transfer destination server.
Definition: TransferInfo.cpp:15
const std::string & getPossessEntityId() const
Get the entity ID of the transferred character on the destination server.
Definition: TransferInfo.cpp:30