congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
MarshalOutputStream.writeObject
Code IndexAdd Tabnine to your IDE (free)

How to use
writeObject
method
in
net.jini.io.MarshalOutputStream

Best Java code snippets using net.jini.io.MarshalOutputStream.writeObject (Showing top 6 results out of 315)

origin: xap/xap

/**
 * Writes a class annotation string value (possibly <code>null</code>) to be read by a
 * corresponding <code>MarshalInputStream</code> implementation.
 *
 * <p><code>MarshalOutputStream</code> implements this method to just write the annotation value
 * to this stream using {@link ObjectOutputStream#writeObject writeObject}.
 *
 * <p>A subclass can override this method to write the annotation to a different location.
 *
 * @param annotation the class annotation string value (possibly <code>null</code>) to write
 * @throws IOException if I/O exception occurs writing the annotation
 **/
protected void writeAnnotation(String annotation) throws IOException {
  writeObject(annotation);
}
origin: au.net.zeus.jgdms/jgdms-platform

  /**
   * Writes a class annotation string value (possibly
   * <code>null</code>) to be read by a corresponding
   * <code>MarshalInputStream</code> implementation.
   *
   * <p><code>MarshalOutputStream</code> implements this method to
   * just write the annotation value to this stream using {@link
   * ObjectOutputStream#writeObject writeObject}.
   *
   * <p>A subclass can override this method to write the annotation
   * to a different location.
   *
   * @param annotation the class annotation string value (possibly
   * <code>null</code>) to write
   *
   * @throws IOException if I/O exception occurs writing the
   * annotation
   **/
  protected void writeAnnotation(String annotation) throws IOException {
  writeObject(annotation);
  }
}
origin: au.net.zeus.jgdms.phoenix-activation/phoenix

  @Override
public void writeUpdate(OutputStream out, Object value)
  throws Exception
{
  MarshalOutputStream s =
  new MarshalOutputStream(out, Collections.EMPTY_LIST);
  s.writeObject(value);
  s.flush();
}
origin: au.net.zeus.jgdms.phoenix-activation/phoenix

  @Override
public void snapshot(OutputStream out) throws Exception {
  if (state == null) {
  state = new Activation();
  }
  MarshalOutputStream s =
  new MarshalOutputStream(out, Collections.EMPTY_LIST);
  s.writeObject(state);
  s.flush();
}
 
origin: au.net.zeus.jgdms.phoenix-activation/phoenix

new AtomicMarshalOutputStream(child.getOutputStream(),
      Collections.EMPTY_LIST);
out.writeObject(id);
ActivationGroupDesc gd = desc;
if (gd.getClassName() == null) {
  gd.getCommandEnvironment());
out.writeObject(gd);
out.writeLong(incarnation);
out.flush();
origin: xap/xap

oos.writeObject(proxy);
oos.close();
proxyRegistrarBytes = os.toByteArray();
net.jini.ioMarshalOutputStreamwriteObject

Popular methods of MarshalOutputStream

  • flush
  • <init>
  • close
  • writeAnnotation
    Writes a class annotation string value (possiblynull) to be read by a correspondingMarshalInputStrea
  • enableReplaceObject
  • getAnnotation
    Returns the class CodeBase if needed or null.
  • writeLong

Popular in Java

  • Reading from database using SQL prepared statement
  • startActivity (Activity)
  • onCreateOptionsMenu (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JButton (javax.swing)
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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