Skip to content

Add callback-based method in Channel #215

Closed
@acogoluegnes

Description

@acogoluegnes

E.g. in Channel:

void asyncRpc(Method method, CommandCallback callback) throws IOException;

With:

public interface CommandCallback {
	void handle(Command response);
}

This could allow to build a reactive API and also, combined with NIO, to have a truly non-blocking client (right now RPC calls are serialized, at least at the channel level).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions