Interface TransportService
-
public interface TransportService
Message transport service component which facilitates sending the messages via transports. It also works as a transport registry.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Transport<?>
getTransport(String name)
Returns transport with the specified name or throws if no such transport exists.void
registerTransport(@NotNull Transport<?> transport)
void
send(Message message, String transportName, Event event, Task task, OperationResult parentResult)
-
-
-
Method Detail
-
registerTransport
void registerTransport(@NotNull @NotNull Transport<?> transport)
-
getTransport
Transport<?> getTransport(String name)
Returns transport with the specified name or throws if no such transport exists.
-
send
void send(Message message, String transportName, Event event, Task task, OperationResult parentResult)
-
-