erjang
Class EInternalPort

java.lang.Object
  extended by erjang.EObject
      extended by erjang.EHandle
          extended by erjang.EPort
              extended by erjang.EInternalPort
All Implemented Interfaces:
ELocalHandle

public class EInternalPort
extends EPort
implements ELocalHandle


Nested Class Summary
 
Nested classes/interfaces inherited from class erjang.EObject
EObject.ValueComparator
 
Field Summary
 
Fields inherited from class erjang.EPort
am_arg0, am_args, am_binary, am_cd, am_close, am_command, am_connect, am_connected, am_env, am_eof, am_exit_status, am_fd, am_hide, am_in, am_line, am_nouse_stdio, am_out, am_packet, am_stderr_to_stdout, am_stream, 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
EInternalPort(EDriverTask task)
           
 
Method Summary
 boolean add_monitor(EHandle target, ERef ref)
           
 EObject call(EProc caller, int op, EObject data)
           
 void close()
           
 void command(EHandle caller, java.nio.ByteBuffer[] out)
           
 EObject control(EProc caller, int op, java.nio.ByteBuffer cmd)
           
 boolean exists()
           
 EObject get_data()
           
 int internal_port_number()
           
 boolean isOpen()
           
 boolean link_oneway(EHandle other)
          A one-way link message.
 EObject port_info(EAtom spec)
           
 void remove_monitor(EHandle sender, ERef r, boolean flush)
           
 void send_monitor_exit(EHandle from, ERef ref, EObject reason)
           
 void set_data(EObject data)
           
 void set_owner(EInternalPID ipid)
           
 EDriverTask task()
           
 EInternalPort testInternalPort()
           
 ELocalHandle testLocalHandle()
           
 java.lang.String toString()
           
 void unlink_oneway(EHandle other)
           
 
Methods inherited from class erjang.EPort
encode, getName, hashCode, make, read, testPort
 
Methods inherited from class erjang.EHandle
cast, exit_signal, node, send, sendb, setName, testHandle
 
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, 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
 

Constructor Detail

EInternalPort

public EInternalPort(EDriverTask task)
Method Detail

toString

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

testInternalPort

public EInternalPort testInternalPort()
Overrides:
testInternalPort in class EObject
Returns:
non-null if this is an internal port

testLocalHandle

public ELocalHandle testLocalHandle()
Overrides:
testLocalHandle in class EHandle
Returns:

exists

public boolean exists()
Overrides:
exists in class EHandle

link_oneway

public boolean link_oneway(EHandle other)
                    throws Pausable
Description copied from class: EHandle
A one-way link message. (other is already linked to this handle).

Specified by:
link_oneway in class EHandle
Throws:
Pausable

unlink_oneway

public void unlink_oneway(EHandle other)
                   throws Pausable
Specified by:
unlink_oneway in class EHandle
Throws:
Pausable

add_monitor

public boolean add_monitor(EHandle target,
                           ERef ref)
                    throws Pausable
Specified by:
add_monitor in class EHandle
ref - TODO
Throws:
Pausable

remove_monitor

public void remove_monitor(EHandle sender,
                           ERef r,
                           boolean flush)
                    throws Pausable
Specified by:
remove_monitor in class EHandle
Throws:
Pausable

send_monitor_exit

public void send_monitor_exit(EHandle from,
                              ERef ref,
                              EObject reason)
                       throws Pausable
Specified by:
send_monitor_exit in class EHandle
Throws:
Pausable

task

public EDriverTask task()

internal_port_number

public int internal_port_number()
Returns:

control

public EObject control(EProc caller,
                       int op,
                       java.nio.ByteBuffer cmd)
                throws Pausable
Parameters:
caller -
op -
cmd -
Returns:
Throws:
Pausable

call

public EObject call(EProc caller,
                    int op,
                    EObject data)
             throws Pausable
Parameters:
value -
data -
Returns:
Throws:
Pausable

command

public void command(EHandle caller,
                    java.nio.ByteBuffer[] out)
             throws Pausable
Parameters:
caller - TODO
out -
Throws:
Pausable

isOpen

public boolean isOpen()
Specified by:
isOpen in class EPort
Returns:

port_info

public EObject port_info(EAtom spec)
Specified by:
port_info in class EPort

get_data

public EObject get_data()
Specified by:
get_data in class EPort

set_data

public void set_data(EObject data)
Specified by:
set_data in class EPort

set_owner

public void set_owner(EInternalPID ipid)

close

public void close()
           throws Pausable
Specified by:
close in class EPort
Throws:
Pausable