public class MockResponseTransport extends Object implements ResponseTransport
| Constructor and Description |
|---|
MockResponseTransport(MockMessageRouter messageRouter,
SignalCodec signalCodec) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getInstanceId() |
TransportState |
getState() |
void |
pause() |
void |
play() |
String |
register(Class<?> serviceInterface,
WiredService targetService) |
void |
transmit(String callerId,
String correlationId,
boolean error,
String nativeType,
Object result) |
public MockResponseTransport(MockMessageRouter messageRouter, SignalCodec signalCodec)
public String getInstanceId()
getInstanceId in interface ResponseTransportpublic String register(Class<?> serviceInterface, WiredService targetService) throws NoSuchMethodException, ServiceDefinitionException
register in interface ResponseTransportNoSuchMethodExceptionServiceDefinitionExceptionpublic TransportState getState()
getState in interface ResponseTransportpublic void play()
play in interface ResponseTransportpublic void pause()
pause in interface ResponseTransportpublic void transmit(String callerId, String correlationId, boolean error, String nativeType, Object result) throws Exception
transmit in interface ResponseTransportExceptionpublic void close()
throws Exception
close in interface ResponseTransportExceptionCopyright © 2020. All rights reserved.