Skip to content

Commit

Permalink
Added ReactiveSocketFactory interface
Browse files Browse the repository at this point in the history
  • Loading branch information
rdegnan committed Mar 23, 2016
1 parent a0b550a commit 3503369
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/java/io/reactivesocket/ReactiveSocketFactory.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package io.reactivesocket;

import org.reactivestreams.Publisher;

import java.net.SocketAddress;
import java.util.concurrent.TimeUnit;

@FunctionalInterface
public interface ReactiveSocketFactory {
Publisher<ReactiveSocket> call(SocketAddress address, long timeout, TimeUnit timeUnit);
}

0 comments on commit 3503369

Please sign in to comment.