public class MockRequestTransport extends Object implements RequestTransport
| Constructor and Description |
|---|
MockRequestTransport(MockMessageRouter messageRouter,
SignalCodec signalCodec,
int defaultTimeoutSeconds) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
completeCallback(String correlationId,
ResultSignal resultSignal) |
String |
getCallerId() |
void |
transmitInOnly(String serviceGroup,
Voice voice,
Address address,
Map<String,Object> arguments,
WireContext... contexts) |
Object |
transmitInOut(String serviceGroup,
Voice voice,
int timeoutSeconds,
Address address,
Map<String,Object> arguments,
WireContext... contexts) |
public MockRequestTransport(MockMessageRouter messageRouter, SignalCodec signalCodec, int defaultTimeoutSeconds)
public String getCallerId()
getCallerId in interface RequestTransportpublic void transmitInOnly(String serviceGroup, Voice voice, Address address, Map<String,Object> arguments, WireContext... contexts) throws Exception
transmitInOnly in interface RequestTransportExceptionpublic Object transmitInOut(String serviceGroup, Voice voice, int timeoutSeconds, Address address, Map<String,Object> arguments, WireContext... contexts) throws Throwable
transmitInOut in interface RequestTransportThrowablepublic void completeCallback(String correlationId, ResultSignal resultSignal)
public void close()
throws Exception
close in interface RequestTransportExceptionCopyright © 2016. All rights reserved.