removed operator= from channels and connections
This commit is contained in:
parent
aceac8b677
commit
6cc25c4b27
|
|
@ -48,6 +48,13 @@ public:
|
|||
_implementation->close();
|
||||
}
|
||||
|
||||
/**
|
||||
* No assignments of other channels
|
||||
* @param channel
|
||||
* @return Channel
|
||||
*/
|
||||
Channel &operator=(const Channel &channel) = delete;
|
||||
|
||||
/**
|
||||
* Callback that is called when the channel was succesfully created.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -144,6 +144,13 @@ public:
|
|||
*/
|
||||
virtual ~ChannelImpl();
|
||||
|
||||
/**
|
||||
* No assignments of other channels
|
||||
* @param channel
|
||||
* @return Channel
|
||||
*/
|
||||
ChannelImpl &operator=(const ChannelImpl &channel) = delete;
|
||||
|
||||
/**
|
||||
* Invalidate the channel
|
||||
* This method is called when the connection is destructed
|
||||
|
|
|
|||
|
|
@ -64,6 +64,13 @@ public:
|
|||
* Destructor
|
||||
*/
|
||||
virtual ~Connection() {}
|
||||
|
||||
/**
|
||||
* No assignments of other connections
|
||||
* @param connection
|
||||
* @return Connection
|
||||
*/
|
||||
Connection &operator=(const Connection &connection) = delete;
|
||||
|
||||
/**
|
||||
* Retrieve the login data
|
||||
|
|
|
|||
|
|
@ -135,6 +135,13 @@ public:
|
|||
*/
|
||||
virtual ~ConnectionImpl();
|
||||
|
||||
/**
|
||||
* No assignments of other connections
|
||||
* @param connection
|
||||
* @return ConnectionImpl
|
||||
*/
|
||||
ConnectionImpl &operator=(const ConnectionImpl &connection) = delete;
|
||||
|
||||
/**
|
||||
* What is the state of the connection - is the protocol handshake completed?
|
||||
* @return bool
|
||||
|
|
|
|||
Loading…
Reference in New Issue