Tabnine Logo
BaseDataStreamMarshaller.looseUnmarshal
Code IndexAdd Tabnine to your IDE (free)

How to use
looseUnmarshal
method
in
org.apache.activemq.openwire.v4.BaseDataStreamMarshaller

Best Java code snippets using org.apache.activemq.openwire.v4.BaseDataStreamMarshaller.looseUnmarshal (Showing top 20 results out of 315)

origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  BaseCommand info = (BaseCommand)o;
  info.setCommandId(dataIn.readInt());
  info.setResponseRequired(dataIn.readBoolean());
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  ActiveMQDestination info = (ActiveMQDestination)o;
  info.setPhysicalName(looseUnmarshalString(dataIn));
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  BrokerId info = (BrokerId)o;
  info.setValue(looseUnmarshalString(dataIn));
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  JournalTrace info = (JournalTrace)o;
  info.setMessage(looseUnmarshalString(dataIn));
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  ConnectionId info = (ConnectionId)o;
  info.setValue(looseUnmarshalString(dataIn));
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  NetworkBridgeFilter info = (NetworkBridgeFilter)o;
  info.setNetworkTTL(dataIn.readInt());
  info.setNetworkBrokerId((org.apache.activemq.command.BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  PartialCommand info = (PartialCommand)o;
  info.setCommandId(dataIn.readInt());
  info.setData(looseUnmarshalByteArray(dataIn));
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  JournalTransaction info = (JournalTransaction)o;
  info.setTransactionId((org.apache.activemq.command.TransactionId) looseUnmarsalNestedObject(wireFormat, dataIn));
  info.setType(dataIn.readByte());
  info.setWasPrepared(dataIn.readBoolean());
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  DiscoveryEvent info = (DiscoveryEvent)o;
  info.setServiceName(looseUnmarshalString(dataIn));
  info.setBrokerName(looseUnmarshalString(dataIn));
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  SessionId info = (SessionId)o;
  info.setConnectionId(looseUnmarshalString(dataIn));
  info.setValue(looseUnmarshalLong(wireFormat, dataIn));
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  JournalQueueAck info = (JournalQueueAck)o;
  info.setDestination((org.apache.activemq.command.ActiveMQDestination) looseUnmarsalNestedObject(wireFormat, dataIn));
  info.setMessageAck((org.apache.activemq.command.MessageAck) looseUnmarsalNestedObject(wireFormat, dataIn));
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  WireFormatInfo info = (WireFormatInfo)o;
  info.beforeUnmarshall(wireFormat);
  
  info.setMagic(looseUnmarshalConstByteArray(dataIn, 8));
  info.setVersion(dataIn.readInt());
  info.setMarshalledProperties(looseUnmarshalByteSequence(dataIn));
  info.afterUnmarshall(wireFormat);
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  MessageId info = (MessageId)o;
  info.setProducerId((org.apache.activemq.command.ProducerId) looseUnmarsalCachedObject(wireFormat, dataIn));
  info.setProducerSequenceId(looseUnmarshalLong(wireFormat, dataIn));
  info.setBrokerSequenceId(looseUnmarshalLong(wireFormat, dataIn));
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  ConsumerId info = (ConsumerId)o;
  info.setConnectionId(looseUnmarshalString(dataIn));
  info.setSessionId(looseUnmarshalLong(wireFormat, dataIn));
  info.setValue(looseUnmarshalLong(wireFormat, dataIn));
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  ProducerId info = (ProducerId)o;
  info.setConnectionId(looseUnmarshalString(dataIn));
  info.setValue(looseUnmarshalLong(wireFormat, dataIn));
  info.setSessionId(looseUnmarshalLong(wireFormat, dataIn));
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  SubscriptionInfo info = (SubscriptionInfo)o;
  info.setClientId(looseUnmarshalString(dataIn));
  info.setDestination((org.apache.activemq.command.ActiveMQDestination) looseUnmarsalCachedObject(wireFormat, dataIn));
  info.setSelector(looseUnmarshalString(dataIn));
  info.setSubscriptionName(looseUnmarshalString(dataIn));
  info.setSubscribedDestination((org.apache.activemq.command.ActiveMQDestination) looseUnmarsalNestedObject(wireFormat, dataIn));
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  JournalTopicAck info = (JournalTopicAck)o;
  info.setDestination((org.apache.activemq.command.ActiveMQDestination) looseUnmarsalNestedObject(wireFormat, dataIn));
  info.setMessageId((org.apache.activemq.command.MessageId) looseUnmarsalNestedObject(wireFormat, dataIn));
  info.setMessageSequenceId(looseUnmarshalLong(wireFormat, dataIn));
  info.setSubscritionName(looseUnmarshalString(dataIn));
  info.setClientId(looseUnmarshalString(dataIn));
  info.setTransactionId((org.apache.activemq.command.TransactionId) looseUnmarsalNestedObject(wireFormat, dataIn));
}
origin: org.apache.activemq/activemq-all

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
}
origin: org.apache.activemq/activemq-osgi

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  ActiveMQDestination info = (ActiveMQDestination)o;
  info.setPhysicalName(looseUnmarshalString(dataIn));
}
org.apache.activemq.openwire.v4BaseDataStreamMarshallerlooseUnmarshal

Popular methods of BaseDataStreamMarshaller

  • createThrowable
  • looseMarshal
  • looseMarshalNestedObject
  • looseMarshalString
  • looseMarshalThrowable
  • looseUnmarsalThrowable
  • looseUnmarshalString
  • tightMarshal1
  • tightMarshal2
  • tightMarshalNestedObject1
  • tightMarshalNestedObject2
  • tightMarshalString1
  • tightMarshalNestedObject2,
  • tightMarshalString1,
  • tightMarshalString2,
  • tightMarshalThrowable1,
  • tightMarshalThrowable2,
  • tightUnmarsalThrowable,
  • tightUnmarshal,
  • tightUnmarshalString,
  • toLong

Popular in Java

  • Reactive rest calls using spring rest template
  • startActivity (Activity)
  • getSharedPreferences (Context)
  • addToBackStack (FragmentTransaction)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • ImageIO (javax.imageio)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now