move op method on op dispenser to template method to allow base impl to intercede

This commit is contained in:
Jonathan Shook
2024-03-26 10:12:36 -05:00
parent 80a70b183c
commit 897140c871
43 changed files with 48 additions and 47 deletions

View File

@@ -35,7 +35,7 @@ public class TcpClientOpDispenser extends BaseOpDispenser<TcpClientOp, TcpClient
}
@Override
public TcpClientOp apply(long value) {
public TcpClientOp getOp(long value) {
TcpClientAdapterSpace ctx = ctxFunction.apply(value);
String output = outFunction.apply(value);
return new TcpClientOp(ctx,output);

View File

@@ -35,7 +35,7 @@ public class TcpServerOpDispenser extends BaseOpDispenser<TcpServerOp,TcpServerA
}
@Override
public TcpServerOp apply(long value) {
public TcpServerOp getOp(long value) {
TcpServerAdapterSpace ctx = ctxFunction.apply(value);
String output = outFunction.apply(value);
return new TcpServerOp(ctx,output);