Skip to content

Remove Timestamp parameter from MessageCallback #3

Closed
@zieckey

Description

@zieckey
typedef std::function<void(const TCPConnPtr&, Buffer*, Timestamp)> MessageCallback;

The MessageCallback has three parameters, the third one is a timestamp which is the data receiving time.
In most case, this parameter is not necessary.

So I suggest to remove it.

Any one has ideals?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions