Codota Logo
ConnectionInfoMarshaller.tightUnmarsalCachedObject
Code IndexAdd Codota to your IDE (free)

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

Best Java code snippets using org.apache.activemq.openwire.v4.ConnectionInfoMarshaller.tightUnmarsalCachedObject (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
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.v4ConnectionInfoMarshallertightUnmarsalCachedObject

Popular methods of ConnectionInfoMarshaller

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

Popular in Java

  • Reading from database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • onRequestPermissionsResult (Fragment)
  • getExternalFilesDir (Context)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JList (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now