public:
typedef typename Writer::Handle Handle; ///< Handle type requested by writer
- connector::ActiveInput input; ///< Input connector from which data is received
+ connector::ActiveInput<> input; ///< Input connector from which data is received
ActiveSocketSink(Handle handle); ///< Create new writer for the given handle
/**< Data will be written to \a handle using \a Writer.
socket */
Writer & writer(); ///< Access the Writer
- void replaceHandle(Handle newHandle);
- ///< Replace the handle to which the packets are written
private:
void write();
public:
typedef typename Writer::Handle Handle; ///< Handle type requested by writer
- connector::PassiveInput input; ///< Input connector from which data is received
+ connector::PassiveInput<> input; ///< Input connector from which data is received
PassiveSocketSink(Handle handle); ///< Create new writer for the given handle
/**< Data will be written to \a handle using \a Writer.
Writer & writer(); ///< Access the Writer
void replaceHandle(Handle newHandle);
- ///< Replace the handle to which the packets are written
+ /**< Replace the handle to which the packets are written
+ * Normally you should access the handle and call connect with
+ * the new address. This also works for other
+ * (active) ConnectedSocketSinks/Sources */
+
private:
void write();