org.apache.axis2.transport.testkit.client
Class AsyncTestClientAdapter<M,N>
java.lang.Object
org.apache.axis2.transport.testkit.client.AsyncTestClientAdapter<M,N>
- All Implemented Interfaces:
- Adapter, AsyncTestClient<M>, TestClient
public class AsyncTestClientAdapter<M,N>
- extends java.lang.Object
- implements AsyncTestClient<M>, Adapter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsyncTestClientAdapter
public AsyncTestClientAdapter(AsyncTestClient<N> target,
MessageEncoder<M,N> encoder)
getTarget
public AsyncTestClient<N> getTarget()
- Specified by:
getTarget
in interface Adapter
getContentType
public javax.mail.internet.ContentType getContentType(ClientOptions options,
javax.mail.internet.ContentType contentType)
throws java.lang.Exception
- Specified by:
getContentType
in interface TestClient
- Throws:
java.lang.Exception
sendMessage
public void sendMessage(ClientOptions options,
javax.mail.internet.ContentType contentType,
M message)
throws java.lang.Exception
- Specified by:
sendMessage
in interface AsyncTestClient<M>
- Throws:
java.lang.Exception
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.