Package org.smallmind.phalanx.wire
Interface ResponseTransport
-
- All Known Implementing Classes:
JmsResponseTransport,MockResponseTransport,RabbitMQResponseTransport
public interface ResponseTransport
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()StringgetInstanceId()TransportStategetState()voidpause()voidplay()Stringregister(Class<?> serviceInterface, WiredService targetService)voidtransmit(String callerId, String correlationId, boolean error, String nativeType, Object result)
-
-
-
Method Detail
-
getInstanceId
String getInstanceId()
-
register
String register(Class<?> serviceInterface, WiredService targetService) throws Exception
- Throws:
Exception
-
getState
TransportState getState()
-
transmit
void transmit(String callerId, String correlationId, boolean error, String nativeType, Object result) throws Throwable
- Throws:
Throwable
-
-