public class ParameterConnection extends Object
Modifier and Type | Class and Description |
---|---|
protected static interface |
ClientCommon.MessageHandler |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_TIMEOUT |
protected int |
timeoutSeconds |
Modifier and Type | Method and Description |
---|---|
protected org.jboss.remotingjmx.protocol.v2.ClientExecutorManager |
getClientExecutorManager() |
protected org.jboss.remotingjmx.protocol.v2.ClientRequestManager |
getClientRequestManager() |
protected Marshaller |
prepareForMarshalling(DataOutput dataOutput)
Creates and returns a
Marshaller which is ready to be used for marshalling. |
protected Unmarshaller |
prepareForUnMarshalling(DataInput dataInput)
Creates and returns a
Unmarshaller which is ready to be used for unmarshalling. |
protected Unmarshaller |
prepareForUnMarshalling(DataInput dataInput,
ClassResolver classResolver)
Creates and returns a
Unmarshaller which is ready to be used for unmarshalling. |
protected IOException |
toIoException(Exception e)
This Exception conversion needs to return the IOException instead of throwing it, this is so that the compiler can detect
that for the final Exception check something is actually thrown.
|
protected void |
write(org.jboss.remotingjmx.protocol.v2.Common.MessageWriter writer) |
public static final int DEFAULT_TIMEOUT
protected final int timeoutSeconds
protected org.jboss.remotingjmx.protocol.v2.ClientRequestManager getClientRequestManager()
protected org.jboss.remotingjmx.protocol.v2.ClientExecutorManager getClientExecutorManager()
protected IOException toIoException(Exception e)
protected Marshaller prepareForMarshalling(DataOutput dataOutput) throws IOException
Marshaller
which is ready to be used for marshalling. The
Marshaller.start(org.jboss.marshalling.ByteOutput)
will be invoked by this method, to use
the passed dataOutput
, before returning the marshaller.dataOutput
- The DataOutput
to which the data will be marshalledIOException
protected Unmarshaller prepareForUnMarshalling(DataInput dataInput) throws IOException
Unmarshaller
which is ready to be used for unmarshalling. The
Unmarshaller.start(org.jboss.marshalling.ByteInput)
will be invoked by this method, to use
the passed dataInput
, before returning the unmarshaller.
This unmarshaller will use the context class loader to resolve any classes.dataInput
- The data input from which to unmarshallIOException
protected Unmarshaller prepareForUnMarshalling(DataInput dataInput, ClassResolver classResolver) throws IOException
Unmarshaller
which is ready to be used for unmarshalling. The
Unmarshaller.start(org.jboss.marshalling.ByteInput)
will be invoked by this method, to use
the passed dataInput
, before returning the unmarshaller.dataInput
- The data input from which to unmarshallclassResolver
- The class resolver to use for unmarshallingIOException
protected void write(org.jboss.remotingjmx.protocol.v2.Common.MessageWriter writer) throws IOException
IOException
Copyright © 2018 JBoss by Red Hat. All rights reserved.