public class CommandDispatcherMarshaller<C> extends Object implements CommandMarshaller<C>
| Constructor and Description |
|---|
CommandDispatcherMarshaller(MarshallingContext context,
Object id) |
| Modifier and Type | Method and Description |
|---|---|
<R> byte[] |
marshal(Command<R,? super C> command)
Marshals the specified command to a byte[].
|
public CommandDispatcherMarshaller(MarshallingContext context, Object id)
public <R> byte[] marshal(Command<R,? super C> command) throws IOException
CommandMarshallermarshal in interface CommandMarshaller<C>command - a commandIOException - if marshalling fails.Copyright © 2019 JBoss by Red Hat. All rights reserved.