erjang
Class EPort

java.lang.Object
  extended by erjang.EObject
      extended by erjang.EHandle
          extended by erjang.EPort
Direct Known Subclasses:
EInternalPort

public abstract class EPort
extends EHandle


Nested Class Summary
 
Nested classes/interfaces inherited from class erjang.EObject
EObject.ValueComparator
 
Field Summary
static EAtom am_arg0
           
static EAtom am_args
           
static EAtom am_binary
           
static EAtom am_cd
           
static EAtom am_close
           
static EAtom am_command
           
static EAtom am_connect
           
static EAtom am_connected
           
static EAtom am_env
           
static EAtom am_eof
           
static EAtom am_exit_status
           
static EAtom am_fd
           
static EAtom am_hide
           
static EAtom am_in
           
static EAtom am_line
           
static EAtom am_nouse_stdio
           
static EAtom am_out
           
static EAtom am_packet
           
static EAtom am_stderr_to_stdout
           
static EAtom am_stream
           
static EAtom am_use_stdio
           
 
Fields inherited from class erjang.EHandle
name, node
 
Fields inherited from class erjang.EObject
CMP_ORDER_ATOM, CMP_ORDER_BITSTRING, CMP_ORDER_ERJANG_INTERNAL, CMP_ORDER_FUN, CMP_ORDER_LIST, CMP_ORDER_NUMBER, CMP_ORDER_PID, CMP_ORDER_PORT, CMP_ORDER_REFERENCE, CMP_ORDER_TUPLE, ERLANG_ORDERING
 
Constructor Summary
EPort(ENode node)
           
 
Method Summary
abstract  void close()
           
 void encode(EOutputStream eos)
           
abstract  EObject get_data()
           
 EString getName()
           
 int hashCode()
           
abstract  boolean isOpen()
           
static EPort make(EAtom node, int id, int creation)
           
abstract  EObject port_info(EAtom spec)
           
static EPort read(EInputStream ei)
           
abstract  void set_data(EObject data)
           
 EPort testPort()
           
 java.lang.String toString()
           
 
Methods inherited from class erjang.EHandle
add_monitor, cast, exists, exit_signal, link_oneway, node, remove_monitor, send_monitor_exit, send, sendb, setName, testHandle, testLocalHandle, unlink_oneway
 
Methods inherited from class erjang.EObject
add, add, add, add, add, add, add$g, asInt, band, band, band, bnot, bor, bor, bor, bsl, bsr, bxor, bxor, bxor, bxor, collectCharList, collectIOList, compileMatch, cons, dec, divide, divide, emit_const, equals, equals, equalsExactly, erlangCompareTo, erlangEquals, ge, idiv, idiv, inc, irem, irem, is_eq_exact, is_eq, is_function, is_ge, is_lt, is_ne_exact, is_ne, is_zero, isBoolean, isNil, match, multiply, negate, prepend, r_multiply, r_multiply, r_multiply, subtract, subtract, subtract, subtract, testAtom, testBig, testBigString, testBinary, testBinMatchState, testBitString, testBoolean, testCons, testFloat, testFunction, testFunction2, testInteger, testInternalPID, testInternalPort, testJavaObject, testNil, testNonEmptyList, testNumber, testPID, testPortControl, testReference, testSeq, testSmall, testString, testTuple
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

am_fd

public static EAtom am_fd

am_packet

public static EAtom am_packet

am_stream

public static EAtom am_stream

am_line

public static EAtom am_line

am_hide

public static EAtom am_hide

am_cd

public static EAtom am_cd

am_env

public static EAtom am_env

am_args

public static EAtom am_args

am_arg0

public static EAtom am_arg0

am_exit_status

public static EAtom am_exit_status

am_use_stdio

public static EAtom am_use_stdio

am_nouse_stdio

public static EAtom am_nouse_stdio

am_stderr_to_stdout

public static EAtom am_stderr_to_stdout

am_in

public static EAtom am_in

am_out

public static EAtom am_out

am_binary

public static EAtom am_binary

am_eof

public static EAtom am_eof

am_close

public static EAtom am_close

am_command

public static EAtom am_command

am_connect

public static EAtom am_connect

am_connected

public static EAtom am_connected
Constructor Detail

EPort

public EPort(ENode node)
Method Detail

getName

public EString getName()
Returns:

hashCode

public int hashCode()
Specified by:
hashCode in class EObject

testPort

public EPort testPort()
Overrides:
testPort in class EObject
Returns:
this if this object is an instance of EPort, otherwise null

isOpen

public abstract boolean isOpen()
Returns:

read

public static EPort read(EInputStream ei)

make

public static EPort make(EAtom node,
                         int id,
                         int creation)
Parameters:
node -
id -
creation -
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

encode

public void encode(EOutputStream eos)
Overrides:
encode in class EObject

port_info

public abstract EObject port_info(EAtom spec)

set_data

public abstract void set_data(EObject data)

get_data

public abstract EObject get_data()

close

public abstract void close()
                    throws Pausable
Throws:
Pausable