-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a generic Handler interface and change the RequestHandler to be a…
… child interface of the generic one.
- Loading branch information
Greg Orzell
committed
Aug 12, 2014
1 parent
7a8ace3
commit 628c6e1
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
rx-netty/src/main/java/io/reactivex/netty/channel/Handler.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,10 @@ | ||
package io.reactivex.netty.channel; | ||
|
||
|
||
import rx.Observable; | ||
|
||
public interface Handler<IN, OUT> { | ||
|
||
Observable<Void> handle(IN input, OUT output); | ||
|
||
} |
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