Skip to content

Commit 56b6335

Browse files
jbrisbinNitesh Kant
authored and
Nitesh Kant
committed
Attempt to make it more functional by not forcing the ConnectionHandler to be a singleton (it **can** be, it just doesn't have to be). Introduced some functional interfaces to leverage like Consumer and Supplier but extended those into specific subinterfaces that have strongly-typed parameters.
1 parent 874d8f5 commit 56b6335

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package io.ripc.core.io;
2+
3+
import io.ripc.core.Supplier;
4+
import io.ripc.io.Buffer;
5+
6+
/**
7+
* Created by jbrisbin on 3/18/15.
8+
*/
9+
public interface BufferSupplier<B> extends Supplier<Buffer<B>> {
10+
}

0 commit comments

Comments
 (0)