Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor service Session to support a proxy-based client event API #603

Merged
merged 1 commit into from
Jun 9, 2018

Conversation

kuujo
Copy link
Member

@kuujo kuujo commented Jun 9, 2018

This PR allows primitive services to use Session objects for client proxies:

SessionId sessionId = SessionId.from(1);
getSession(sessionId).accept(client -> client.onEvent(someEvent));

@kuujo kuujo merged commit 98bdc82 into master Jun 9, 2018
@kuujo kuujo deleted the service-session-proxies branch June 9, 2018 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant