forked from crossbario/autobahn-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* make Session.call() code reusable * Publish a single object (or POJO) * add publish all args convenience API * API: publish no args and no options * API: publish args only; no options * Session.call API: Add convenience all args method * Changes to subscription handler API * Fix build * More code reuse * extend Session.subscribe() API. * API: register a procedure that takes a single argument * More convenience for Session.register() * POJO enabled Session.register() is functional now * Session.subscribe convenience methods functional
- Loading branch information
Showing
13 changed files
with
260 additions
and
110 deletions.
There are no files selected for viewing
243 changes: 172 additions & 71 deletions
243
autobahn/src/main/java/io/crossbar/autobahn/wamp/Session.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
autobahn/src/main/java/io/crossbar/autobahn/wamp/interfaces/TriConsumer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package io.crossbar.autobahn.wamp.interfaces; | ||
|
||
|
||
@FunctionalInterface | ||
public interface TriConsumer<T, U, V> { | ||
void accept(T var1, U var2, V var3); | ||
} |
6 changes: 6 additions & 0 deletions
6
autobahn/src/main/java/io/crossbar/autobahn/wamp/interfaces/TriFunction.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package io.crossbar.autobahn.wamp.interfaces; | ||
|
||
@FunctionalInterface | ||
public interface TriFunction<T, U, V, R> { | ||
R apply(T var1, U var2, V var3); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters