jremote jbase5.2.1

com.jbase.jremote.io
Class AbstractJBaseObjectWriter

java.lang.Object
  extended by com.jbase.jremote.io.AbstractJBaseObjectWriter
All Implemented Interfaces:
JBaseObjectWriter
Direct Known Subclasses:
IOJBaseObjectWriter, NIOJBaseObjectWriter

public abstract class AbstractJBaseObjectWriter
extends Object
implements JBaseObjectWriter


Constructor Summary
AbstractJBaseObjectWriter()
           
 
Method Summary
protected abstract  void flush()
           
protected abstract  void outByte(byte[] b)
           
protected abstract  void outByte(int b)
           
protected abstract  void outInt(int i)
           
protected abstract  void outUTF(String s)
           
 void writeInt(int i)
           
protected  void writeJBaseSerializableObject(JBaseSerializable o)
           
 void writeObject(byte[] data)
           
 void writeObject(IByteObject o)
           
 void writeObject(JBaseSerializable o)
           
 void writeObject(String o)
           
 void writeRootObject(JBaseSerializable o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jbase.jremote.io.JBaseObjectWriter
close
 

Constructor Detail

AbstractJBaseObjectWriter

public AbstractJBaseObjectWriter()
Method Detail

outByte

protected abstract void outByte(byte[] b)
                         throws IOException
Throws:
IOException

outByte

protected abstract void outByte(int b)
                         throws IOException
Throws:
IOException

outInt

protected abstract void outInt(int i)
                        throws IOException
Throws:
IOException

outUTF

protected abstract void outUTF(String s)
                        throws IOException
Throws:
IOException

flush

protected abstract void flush()
                       throws IOException
Throws:
IOException

writeInt

public void writeInt(int i)
              throws IOException
Specified by:
writeInt in interface JBaseObjectWriter
Throws:
IOException

writeObject

public void writeObject(String o)
                 throws IOException
Specified by:
writeObject in interface JBaseObjectWriter
Throws:
IOException

writeObject

public void writeObject(byte[] data)
                 throws IOException
Specified by:
writeObject in interface JBaseObjectWriter
Throws:
IOException

writeObject

public void writeObject(IByteObject o)
                 throws IOException
Specified by:
writeObject in interface JBaseObjectWriter
Throws:
IOException

writeObject

public void writeObject(JBaseSerializable o)
                 throws IOException
Specified by:
writeObject in interface JBaseObjectWriter
Throws:
IOException

writeJBaseSerializableObject

protected void writeJBaseSerializableObject(JBaseSerializable o)
                                     throws IOException
Throws:
IOException

writeRootObject

public void writeRootObject(JBaseSerializable o)
                     throws IOException
Specified by:
writeRootObject in interface JBaseObjectWriter
Throws:
IOException

jremote jbase5.2.1

Copyright © 2016 TEMENOS. All Rights Reserved.