Class ParameterProxy
- java.lang.Object
-
- org.jboss.remotingjmx.protocol.v2.ServerCommon
-
- org.jboss.remotingjmx.protocol.v2.ParameterProxy
-
public class ParameterProxy extends ServerCommon
The server side proxy responsible for handling the initial setKeyPair requests before begin is called and an MBeanServer selected.- Author:
- Darran Lofthouse
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.remotingjmx.protocol.v2.ServerCommon
ServerCommon.MessageReciever
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.jboss.marshalling.MarshallerprepareForMarshalling(DataOutput dataOutput)Creates and returns aMarshallerwhich is ready to be used for marshalling.protected org.jboss.marshalling.UnmarshallerprepareForUnMarshalling(DataInput dataInput)Creates and returns aUnmarshallerwhich is ready to be used for unmarshalling.protected org.jboss.marshalling.UnmarshallerprepareForUnMarshalling(DataInput dataInput, org.jboss.marshalling.ClassResolver classResolver)Creates and returns aUnmarshallerwhich is ready to be used for unmarshalling.protected voidwrite(org.jboss.remotingjmx.protocol.v2.Common.MessageWriter writer)-
Methods inherited from class org.jboss.remotingjmx.protocol.v2.ServerCommon
sendWelcomeMessage, writeResponse, writeResponse, writeResponse
-
-
-
-
Method Detail
-
prepareForMarshalling
protected org.jboss.marshalling.Marshaller prepareForMarshalling(DataOutput dataOutput) throws IOException
Creates and returns aMarshallerwhich is ready to be used for marshalling. TheMarshaller.start(org.jboss.marshalling.ByteOutput)will be invoked by this method, to use the passeddataOutput, before returning the marshaller.- Parameters:
dataOutput- TheDataOutputto which the data will be marshalled- Returns:
- Throws:
IOException
-
prepareForUnMarshalling
protected org.jboss.marshalling.Unmarshaller prepareForUnMarshalling(DataInput dataInput) throws IOException
Creates and returns aUnmarshallerwhich is ready to be used for unmarshalling. TheUnmarshaller.start(org.jboss.marshalling.ByteInput)will be invoked by this method, to use the passeddataInput, before returning the unmarshaller. This unmarshaller will use the context class loader to resolve any classes.- Parameters:
dataInput- The data input from which to unmarshall- Returns:
- Throws:
IOException
-
prepareForUnMarshalling
protected org.jboss.marshalling.Unmarshaller prepareForUnMarshalling(DataInput dataInput, org.jboss.marshalling.ClassResolver classResolver) throws IOException
Creates and returns aUnmarshallerwhich is ready to be used for unmarshalling. TheUnmarshaller.start(org.jboss.marshalling.ByteInput)will be invoked by this method, to use the passeddataInput, before returning the unmarshaller.- Parameters:
dataInput- The data input from which to unmarshallclassResolver- The class resolver to use for unmarshalling- Returns:
- Throws:
IOException
-
write
protected void write(org.jboss.remotingjmx.protocol.v2.Common.MessageWriter writer) throws IOException- Throws:
IOException
-
-