wt.ixb.clientAccess
Class IXBStreamer

java.lang.Object
  extended bywt.ixb.clientAccess.IXBStreamer
All Implemented Interfaces:
Serializable

public class IXBStreamer
extends Object
implements Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private  Hashtable attribHash
           
private  int BUFF_SIZE
           
private static String CLASSNAME
           
static String CLIENT_SAVE_AS_FILE
          

Supported API: false
private  String inFileName
           
private  InputStream input
           
private static String RESOURCE
           
static String SAVED_AS_FILE
          

Supported API: false
private  String sent_to
           
static String TO_CLIENT
          

Supported API: false
static String TO_SERVER
          

Supported API: false
private  int uMsgCurr
           
private  Vector userMsgs
           
 
Constructor Summary
IXBStreamer(File file, String destination)
          

Supported API: false
IXBStreamer(InputStream in, String destination)
          

Supported API: false
IXBStreamer(InputStream in, String inFileName, String destination)
          

Supported API: false
 
Method Summary
private  void _retrieveStreamClient(ObjectInputStream in)
           
private  void _retrieveStreamServer(ObjectInputStream in)
           
private  void _writeToFile(FileOutputStream fout, ObjectInputStream in)
           
 void addUserMsg(String msg)
           
 Object getAttrib(Serializable name)
           
 File getFile()
           
 String getInFileName()
           
 Vector getUserMsgs()
           
private  void readObject(ObjectInputStream in)
           
private  void retrieveStream(ObjectInputStream in)
           
private  void sendStream(ObjectOutputStream out)
           
 void setAttrib(Serializable name, Serializable value)
           
private  void writeObject(ObjectOutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

CLIENT_SAVE_AS_FILE

public static final String CLIENT_SAVE_AS_FILE


Supported API: false

See Also:
Constant Field Values

TO_SERVER

public static final String TO_SERVER


Supported API: false

See Also:
Constant Field Values

TO_CLIENT

public static final String TO_CLIENT


Supported API: false

See Also:
Constant Field Values

SAVED_AS_FILE

public static final String SAVED_AS_FILE


Supported API: false

See Also:
Constant Field Values

BUFF_SIZE

private int BUFF_SIZE

sent_to

private String sent_to

input

private InputStream input

attribHash

private Hashtable attribHash

userMsgs

private Vector userMsgs

uMsgCurr

private int uMsgCurr

inFileName

private String inFileName
Constructor Detail

IXBStreamer

public IXBStreamer(InputStream in,
                   String destination)


Supported API: false

Parameters:
in -
destination -

IXBStreamer

public IXBStreamer(InputStream in,
                   String inFileName,
                   String destination)


Supported API: false

Parameters:
in -
inFileName -
destination -

IXBStreamer

public IXBStreamer(File file,
                   String destination)
            throws WTException


Supported API: false

Parameters:
file -
destination -
Throws:
WTException
Method Detail

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Parameters:
in -
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Parameters:
out -
Throws:
IOException

setAttrib

public void setAttrib(Serializable name,
                      Serializable value)

getAttrib

public Object getAttrib(Serializable name)

getFile

public File getFile()

getInFileName

public String getInFileName()

sendStream

private void sendStream(ObjectOutputStream out)
                 throws IOException
Throws:
IOException

retrieveStream

private void retrieveStream(ObjectInputStream in)
                     throws IOException
Throws:
IOException

getUserMsgs

public Vector getUserMsgs()

addUserMsg

public void addUserMsg(String msg)

_retrieveStreamServer

private void _retrieveStreamServer(ObjectInputStream in)
                            throws IOException
Throws:
IOException

_retrieveStreamClient

private void _retrieveStreamClient(ObjectInputStream in)
                            throws IOException
Throws:
IOException

_writeToFile

private void _writeToFile(FileOutputStream fout,
                          ObjectInputStream in)
                   throws IOException
Throws:
IOException