org.fusesource.fabric.dosgi.tcp
Class BlockingInvocationStrategy
java.lang.Object
org.fusesource.fabric.dosgi.tcp.BlockingInvocationStrategy
- All Implemented Interfaces:
- InvocationStrategy
public class BlockingInvocationStrategy
- extends java.lang.Object
- implements InvocationStrategy
- Author:
- Hiram Chirino
|
Method Summary |
ResponseFuture |
request(SerializationStrategy serializationStrategy,
java.lang.ClassLoader loader,
java.lang.reflect.Method method,
java.lang.Object[] args,
org.fusesource.hawtbuf.DataByteArrayOutputStream target)
|
void |
service(SerializationStrategy serializationStrategy,
java.lang.ClassLoader loader,
java.lang.reflect.Method method,
java.lang.Object target,
org.fusesource.hawtbuf.DataByteArrayInputStream requestStream,
org.fusesource.hawtbuf.DataByteArrayOutputStream responseStream,
java.lang.Runnable onComplete)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final BlockingInvocationStrategy INSTANCE
BlockingInvocationStrategy
public BlockingInvocationStrategy()
request
public ResponseFuture request(SerializationStrategy serializationStrategy,
java.lang.ClassLoader loader,
java.lang.reflect.Method method,
java.lang.Object[] args,
org.fusesource.hawtbuf.DataByteArrayOutputStream target)
throws java.lang.Exception
- Specified by:
request in interface InvocationStrategy
- Throws:
java.lang.Exception
service
public void service(SerializationStrategy serializationStrategy,
java.lang.ClassLoader loader,
java.lang.reflect.Method method,
java.lang.Object target,
org.fusesource.hawtbuf.DataByteArrayInputStream requestStream,
org.fusesource.hawtbuf.DataByteArrayOutputStream responseStream,
java.lang.Runnable onComplete)
- Specified by:
service in interface InvocationStrategy
Copyright © 2013 Red Hat. All Rights Reserved.