File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
jsonrpc/src/main/java/io/a2a/client/transport/jsonrpc
spi/src/main/java/io/a2a/client/transport/spi Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 77import io .a2a .client .http .A2AHttpResponse ;
88import io .a2a .client .http .JdkA2AHttpClient ;
99import io .a2a .client .transport .jsonrpc .sse .SSEEventListener ;
10- import io .a2a .client .transport .spi .Transport ;
10+ import io .a2a .client .transport .spi .ClientTransport ;
1111import io .a2a .spec .A2AServerException ;
1212import io .a2a .spec .CancelTaskRequest ;
1313import io .a2a .spec .CancelTaskResponse ;
4747import java .util .concurrent .atomic .AtomicReference ;
4848import java .util .function .Consumer ;
4949
50- public class JSONRPCTransport implements Transport {
50+ public class JSONRPCTransport implements ClientTransport {
5151
5252 private static final TypeReference <SendMessageResponse > SEND_MESSAGE_RESPONSE_REFERENCE = new TypeReference <>() {};
5353 private static final TypeReference <GetTaskResponse > GET_TASK_RESPONSE_REFERENCE = new TypeReference <>() {};
Original file line number Diff line number Diff line change 55import java .util .List ;
66import java .util .function .Consumer ;
77
8- public interface Transport {
8+ public interface ClientTransport {
99
1010 /**
1111 * Send a message to the remote agent.
You can’t perform that action at this time.
0 commit comments