JanosVM v1.0 API

java.lang.isolate
Class IsolateMessage_Socket

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

class IsolateMessage_Socket
extends IsolateMessage_IOMessage


Field Summary
private static java.net.NetDupFactory netDupFactory
           
(package private)  java.net.Socket s
           
 
Fields inherited from class java.lang.isolate.IsolateMessage
EMPTY_MESSAGE
 
Constructor Summary
(package private) IsolateMessage_Socket(java.net.Socket 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.net.Socket getSocket()
           
(package private)  boolean isReadable()
          To be suitable for an input stream, an IO message type must override this to return true.
(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
 
Methods inherited from class java.lang.isolate.IsolateMessage
getByteArray, getComposite, getDatagramSocket, getFileInputStream, getFileOutputStream, getIsolate, getIsolateEvent, getLink, getSerializable, getServerSocket, 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

netDupFactory

private static final java.net.NetDupFactory netDupFactory

s

final java.net.Socket s
Constructor Detail

IsolateMessage_Socket

IsolateMessage_Socket(java.net.Socket s)
Method Detail

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

isReadable

boolean isReadable()
Description copied from class: IsolateMessage_IOMessage
To be suitable for an input stream, an IO message type must override this to return true. (Defaults to false).
Overrides:
isReadable 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)
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

getSocket

public java.net.Socket getSocket()
Overrides:
getSocket in class IsolateMessage

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