mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-07-20 09:17:06 +00:00
Basic work for proxies
This commit is contained in:
@@ -130,12 +130,12 @@ public final class XPipeConnection extends BeaconConnection {
|
||||
@FunctionalInterface
|
||||
public static interface Handler {
|
||||
|
||||
void handle(BeaconConnection con) throws ClientException, ServerException, ConnectorException;
|
||||
void handle(BeaconConnection con) throws Exception;
|
||||
}
|
||||
|
||||
@FunctionalInterface
|
||||
public static interface Mapper<T> {
|
||||
|
||||
T handle(BeaconConnection con) throws ClientException, ServerException, ConnectorException;
|
||||
T handle(BeaconConnection con) throws Exception;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user