public class AsyncTestClientAdapter<M,N> extends Object implements AsyncTestClient<M>, Adapter
Constructor and Description |
---|
AsyncTestClientAdapter(AsyncTestClient<N> target,
MessageEncoder<M,N> encoder) |
Modifier and Type | Method and Description |
---|---|
ContentType |
getContentType(ClientOptions options,
ContentType contentType) |
AsyncTestClient<N> |
getTarget() |
void |
sendMessage(ClientOptions options,
ContentType contentType,
M message) |
public AsyncTestClientAdapter(AsyncTestClient<N> target, MessageEncoder<M,N> encoder)
public AsyncTestClient<N> getTarget()
public ContentType getContentType(ClientOptions options, ContentType contentType) throws Exception
getContentType
in interface TestClient
Exception
public void sendMessage(ClientOptions options, ContentType contentType, M message) throws Exception
sendMessage
in interface AsyncTestClient<M>
Exception
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.