Tabnine Logo
ConnectionInfoMarshaller.tightUnmarsalNestedObject
Code IndexAdd Tabnine to your IDE (free)

How to use
tightUnmarsalNestedObject
method
in
org.apache.activemq.openwire.v4.ConnectionInfoMarshaller

Best Java code snippets using org.apache.activemq.openwire.v4.ConnectionInfoMarshaller.tightUnmarsalNestedObject (Showing top 4 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 tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
  super.tightUnmarshal(wireFormat, o, dataIn, bs);
  ConnectionInfo info = (ConnectionInfo)o;
  info.setConnectionId((org.apache.activemq.command.ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
  info.setClientId(tightUnmarshalString(dataIn, bs));
  info.setPassword(tightUnmarshalString(dataIn, bs));
  info.setUserName(tightUnmarshalString(dataIn, bs));
  if (bs.readBoolean()) {
    short size = dataIn.readShort();
    org.apache.activemq.command.BrokerId value[] = new org.apache.activemq.command.BrokerId[size];
    for( int i=0; i < size; i++ ) {
      value[i] = (org.apache.activemq.command.BrokerId) tightUnmarsalNestedObject(wireFormat,dataIn, bs);
    }
    info.setBrokerPath(value);
  }
  else {
    info.setBrokerPath(null);
  }
  info.setBrokerMasterConnector(bs.readBoolean());
  info.setManageable(bs.readBoolean());
  info.setClientMaster(bs.readBoolean());
}
origin: pierre/meteo

/**
 * 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 tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
  super.tightUnmarshal(wireFormat, o, dataIn, bs);
  ConnectionInfo info = (ConnectionInfo)o;
  info.setConnectionId((org.apache.activemq.command.ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
  info.setClientId(tightUnmarshalString(dataIn, bs));
  info.setPassword(tightUnmarshalString(dataIn, bs));
  info.setUserName(tightUnmarshalString(dataIn, bs));
  if (bs.readBoolean()) {
    short size = dataIn.readShort();
    org.apache.activemq.command.BrokerId value[] = new org.apache.activemq.command.BrokerId[size];
    for( int i=0; i < size; i++ ) {
      value[i] = (org.apache.activemq.command.BrokerId) tightUnmarsalNestedObject(wireFormat,dataIn, bs);
    }
    info.setBrokerPath(value);
  }
  else {
    info.setBrokerPath(null);
  }
  info.setBrokerMasterConnector(bs.readBoolean());
  info.setManageable(bs.readBoolean());
  info.setClientMaster(bs.readBoolean());
}
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 tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
  super.tightUnmarshal(wireFormat, o, dataIn, bs);
  ConnectionInfo info = (ConnectionInfo)o;
  info.setConnectionId((org.apache.activemq.command.ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
  info.setClientId(tightUnmarshalString(dataIn, bs));
  info.setPassword(tightUnmarshalString(dataIn, bs));
  info.setUserName(tightUnmarshalString(dataIn, bs));
  if (bs.readBoolean()) {
    short size = dataIn.readShort();
    org.apache.activemq.command.BrokerId value[] = new org.apache.activemq.command.BrokerId[size];
    for( int i=0; i < size; i++ ) {
      value[i] = (org.apache.activemq.command.BrokerId) tightUnmarsalNestedObject(wireFormat,dataIn, bs);
    }
    info.setBrokerPath(value);
  }
  else {
    info.setBrokerPath(null);
  }
  info.setBrokerMasterConnector(bs.readBoolean());
  info.setManageable(bs.readBoolean());
  info.setClientMaster(bs.readBoolean());
}
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 tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
  super.tightUnmarshal(wireFormat, o, dataIn, bs);
  ConnectionInfo info = (ConnectionInfo)o;
  info.setConnectionId((org.apache.activemq.command.ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
  info.setClientId(tightUnmarshalString(dataIn, bs));
  info.setPassword(tightUnmarshalString(dataIn, bs));
  info.setUserName(tightUnmarshalString(dataIn, bs));
  if (bs.readBoolean()) {
    short size = dataIn.readShort();
    org.apache.activemq.command.BrokerId value[] = new org.apache.activemq.command.BrokerId[size];
    for( int i=0; i < size; i++ ) {
      value[i] = (org.apache.activemq.command.BrokerId) tightUnmarsalNestedObject(wireFormat,dataIn, bs);
    }
    info.setBrokerPath(value);
  }
  else {
    info.setBrokerPath(null);
  }
  info.setBrokerMasterConnector(bs.readBoolean());
  info.setManageable(bs.readBoolean());
  info.setClientMaster(bs.readBoolean());
}
org.apache.activemq.openwire.v4ConnectionInfoMarshallertightUnmarsalNestedObject

Popular methods of ConnectionInfoMarshaller

  • looseMarshalCachedObject
  • looseMarshalObjectArray
  • looseMarshalString
  • looseUnmarsalCachedObject
  • looseUnmarsalNestedObject
  • looseUnmarshalString
  • tightMarshalCachedObject1
  • tightMarshalCachedObject2
  • tightMarshalObjectArray1
  • tightMarshalObjectArray2
  • tightMarshalString1
  • tightMarshalString2
  • tightMarshalString1,
  • tightMarshalString2,
  • tightUnmarsalCachedObject,
  • tightUnmarshalString

Popular in Java

  • Reactive rest calls using spring rest template
  • addToBackStack (FragmentTransaction)
  • getContentResolver (Context)
  • startActivity (Activity)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • JLabel (javax.swing)
  • Top plugins for Android Studio
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