Problem: process_term and close duplicated across subclasses of stream_connecter_base_t

Solution: pull up
This commit is contained in:
Simon Giesecke
2019-01-31 09:39:35 -05:00
parent 531df586d0
commit a09099a615
8 changed files with 39 additions and 98 deletions

View File

@@ -57,9 +57,6 @@ class tipc_connecter_t : public stream_connecter_base_t
reconnect_timer_id = 1
};
// Handlers for incoming commands.
void process_term (int linger_);
// Handlers for I/O events.
void in_event ();
void out_event ();
@@ -68,9 +65,6 @@ class tipc_connecter_t : public stream_connecter_base_t
// Internal function to start the actual connection establishment.
void start_connecting ();
// Close the connecting socket.
void close ();
// Get the file descriptor of newly created connection. Returns
// retired_fd if the connection was unsuccessful.
fd_t connect ();