Tabnine Logo
MarshalOutputStream.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
net.jini.io.MarshalOutputStream
constructor

Best Java code snippets using net.jini.io.MarshalOutputStream.<init> (Showing top 3 results out of 315)

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: xap/xap

MarshalOutputStream oos = new MarshalOutputStream(os, Collections.EMPTY_SET);
oos.writeObject(proxy);
oos.close();
net.jini.ioMarshalOutputStream<init>

Javadoc

Creates a new MarshalOutputStream that writes marshalled data to the specified underlying OutputStream.

This constructor passes out to the superclass constructor that has an OutputStream parameter.

context will be used as the return value of the created stream's #getObjectStreamContext method.

Popular methods of MarshalOutputStream

  • writeObject
  • flush
  • 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

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (Timer)
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Best IntelliJ plugins
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