JanosVM v1.0 API

java.lang.isolate
Class IsolateMessage_FileOutputStream

java.lang.Object
  |
  +--java.lang.isolate.IsolateMessage
        |
        +--java.lang.isolate.IsolateMessage_IOMessage
              |
              +--java.lang.isolate.IsolateMessage_FileOutputStream

class IsolateMessage_FileOutputStream
extends IsolateMessage_IOMessage


Field Summary
private static java.io.IODupFactory ioDupFactory
           
(package private)  java.io.FileOutputStream s
           
 
Fields inherited from class java.lang.isolate.IsolateMessage
EMPTY_MESSAGE
 
Constructor Summary
(package private) IsolateMessage_FileOutputStream(java.io.FileOutputStream s)
           
 
Method Summary
 void acceptVisitor(IsolateMessageVisitor lmv)
           
(package private)  IsolateMessage_IOMessage cloneTypeAroundFD(int fd)
          All IOMessages must implement this method.
 boolean equals(java.lang.Object o)
           
(package private)  int getFD()
          IO-type messages must implement this for JanosVM stdio redirection, see Isolate.makeStdioSpec().
 java.io.FileOutputStream getFileOutputStream()
           
(package private)  boolean isWritable()
          To be suitable for an output stream, an IO message type must override this to return true.
(package private)  IsolateMessage translate(TeamHandle sourceTeam, TeamHandle currentTeam)
          INTERNAL translation of IsolateMessage
 
Methods inherited from class java.lang.isolate.IsolateMessage_IOMessage
isIOMessage, isReadable
 
Methods inherited from class java.lang.isolate.IsolateMessage
getByteArray, getComposite, getDatagramSocket, getFileInputStream, getIsolate, getIsolateEvent, getLink, getSerializable, getServerSocket, getSocket, getString, newByteArrayMessage, newCompositeMessage, newDatagramSocketMessage, newFileInputStreamMessage, newFileOutputStreamMessage, newIsolateEventMessage, newIsolateMessage, newLinkMessage, newSerializableMessage, newServerSocketMessage, newSocketMessage, newStringMessage, pretranslate, toString, typeName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait, wait0
 

Field Detail

ioDupFactory

private static final java.io.IODupFactory ioDupFactory

s

final java.io.FileOutputStream s
Constructor Detail

IsolateMessage_FileOutputStream

IsolateMessage_FileOutputStream(java.io.FileOutputStream s)
Method Detail

getFileOutputStream

public java.io.FileOutputStream getFileOutputStream()
Overrides:
getFileOutputStream in class IsolateMessage

getFD

int getFD()
    throws java.io.IOException
Description copied from class: IsolateMessage_IOMessage
IO-type messages must implement this for JanosVM stdio redirection, see Isolate.makeStdioSpec().
Overrides:
getFD in class IsolateMessage_IOMessage

isWritable

boolean isWritable()
Description copied from class: IsolateMessage_IOMessage
To be suitable for an output stream, an IO message type must override this to return true. (Defaults to false).
Overrides:
isWritable in class IsolateMessage_IOMessage

cloneTypeAroundFD

IsolateMessage_IOMessage cloneTypeAroundFD(int fd)
                                     throws java.io.IOException
Description copied from class: IsolateMessage_IOMessage
All IOMessages must implement this method. They must return a new instance of themselves but wrapping the given fd.
Overrides:
cloneTypeAroundFD in class IsolateMessage_IOMessage

acceptVisitor

public void acceptVisitor(IsolateMessageVisitor lmv)
Overrides:
acceptVisitor in class IsolateMessage

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

translate

IsolateMessage translate(TeamHandle sourceTeam,
                         TeamHandle currentTeam)
                   throws ClosedLinkException,
                          java.io.IOException
INTERNAL translation of IsolateMessage
Overrides:
translate in class IsolateMessage

JanosVM v1.0 API

This documentation is Copyright (C) 2000-2003 The University of Utah. All Rights Reserved. See the documentation license for distribution terms and restrictions.
Documentation, software, and mailing lists for the JanosVM can be found at the Janos Project web page: http://www.cs.utah.edu/flux/janos/
Generated on Feb 13, 2003