C# Class Otp.OtpMbox

Exibir arquivo Open project: saleyn/otp.net Class Usage Examples

Public Methods

Method Description
Equals ( System o ) : bool
GetHashCode ( ) : int
close ( ) : void
exit ( Erlang to, System reason ) : void
flush ( ) : void
getName ( ) : System.String
getNames ( ) : System.String[]
link ( Erlang to ) : void
ping ( System node, long timeout ) : bool
receive ( ) : Otp.Erlang.Object
receive ( long timeout ) : Otp.Erlang.Object
receiveBuf ( ) : OtpInputStream
receiveBuf ( long timeout ) : OtpInputStream
receiveIO ( int timeout ) : string
receiveMsg ( ) : OtpMsg
receiveMsg ( long timeout ) : OtpMsg
receiveRPC ( int timeout ) : Otp.Erlang.Object
registerName ( System name ) : bool
rpcCall ( string node, Erlang mod, Erlang fun, Erlang args ) : Otp.Erlang.Object
rpcCall ( string node, Erlang mod, Erlang fun, Erlang args, int timeout ) : Otp.Erlang.Object
rpcCall ( string node, string mod, string fun, Erlang args ) : Otp.Erlang.Object
rpcCall ( string node, string mod, string fun, Erlang args, int timeout ) : Otp.Erlang.Object
self ( ) : Pid
send ( Erlang to, Erlang msg ) : void
send ( System name, Erlang msg ) : void
send ( System name, System node, Erlang msg ) : void
sendRPC ( string node, Erlang mod, Erlang fun, Erlang args ) : void
sendRPC ( string node, Erlang mod, Erlang fun, Erlang args, Erlang ioServer ) : void

Send RPC call to a given node.

sendRPC ( string node, string mod, string fun, Erlang args ) : void
sendRPC ( string node, string mod, string fun, Erlang args, Erlang ioServer ) : void
sendRPCcast ( string node, Erlang mod, Erlang fun, Erlang args ) : void
sendRPCcast ( string node, Erlang mod, Erlang fun, Erlang args, Erlang ioServer ) : void
unlink ( Erlang to ) : void
whereis ( System name ) : Pid

Private Methods

Method Description
OtpMbox ( OtpNode home, Erlang self ) : System
OtpMbox ( OtpNode home, Erlang self, System name ) : System
breakLinks ( System reason ) : void
deliver ( OtpMsg m ) : void
exit ( int arity, Erlang to, System reason ) : void

Method Details

Equals() public method

public Equals ( System o ) : bool
o System
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

close() public method

public close ( ) : void
return void

exit() public method

public exit ( Erlang to, System reason ) : void
to Erlang
reason System
return void

flush() public method

public flush ( ) : void
return void

getName() public method

public getName ( ) : System.String
return System.String

getNames() public method

public getNames ( ) : System.String[]
return System.String[]

link() public method

public link ( Erlang to ) : void
to Erlang
return void

ping() public method

public ping ( System node, long timeout ) : bool
node System
timeout long
return bool

receive() public method

public receive ( ) : Otp.Erlang.Object
return Otp.Erlang.Object

receive() public method

public receive ( long timeout ) : Otp.Erlang.Object
timeout long
return Otp.Erlang.Object

receiveBuf() public method

public receiveBuf ( ) : OtpInputStream
return OtpInputStream

receiveBuf() public method

public receiveBuf ( long timeout ) : OtpInputStream
timeout long
return OtpInputStream

receiveIO() public method

public receiveIO ( int timeout ) : string
timeout int
return string

receiveMsg() public method

public receiveMsg ( ) : OtpMsg
return OtpMsg

receiveMsg() public method

public receiveMsg ( long timeout ) : OtpMsg
timeout long
return OtpMsg

receiveRPC() public method

public receiveRPC ( int timeout ) : Otp.Erlang.Object
timeout int
return Otp.Erlang.Object

registerName() public method

public registerName ( System name ) : bool
name System
return bool

rpcCall() public method

public rpcCall ( string node, Erlang mod, Erlang fun, Erlang args ) : Otp.Erlang.Object
node string
mod Erlang
fun Erlang
args Erlang
return Otp.Erlang.Object

rpcCall() public method

public rpcCall ( string node, Erlang mod, Erlang fun, Erlang args, int timeout ) : Otp.Erlang.Object
node string
mod Erlang
fun Erlang
args Erlang
timeout int
return Otp.Erlang.Object

rpcCall() public method

public rpcCall ( string node, string mod, string fun, Erlang args ) : Otp.Erlang.Object
node string
mod string
fun string
args Erlang
return Otp.Erlang.Object

rpcCall() public method

public rpcCall ( string node, string mod, string fun, Erlang args, int timeout ) : Otp.Erlang.Object
node string
mod string
fun string
args Erlang
timeout int
return Otp.Erlang.Object

self() public method

public self ( ) : Pid
return Otp.Erlang.Pid

send() public method

public send ( Erlang to, Erlang msg ) : void
to Erlang
msg Erlang
return void

send() public method

public send ( System name, Erlang msg ) : void
name System
msg Erlang
return void

send() public method

public send ( System name, System node, Erlang msg ) : void
name System
node System
msg Erlang
return void

sendRPC() public method

public sendRPC ( string node, Erlang mod, Erlang fun, Erlang args ) : void
node string
mod Erlang
fun Erlang
args Erlang
return void

sendRPC() public method

Send RPC call to a given node.
public sendRPC ( string node, Erlang mod, Erlang fun, Erlang args, Erlang ioServer ) : void
node string
mod Erlang
fun Erlang
args Erlang
ioServer Erlang Either a PID or an Atom containing registered I/O server's name.
return void

sendRPC() public method

public sendRPC ( string node, string mod, string fun, Erlang args ) : void
node string
mod string
fun string
args Erlang
return void

sendRPC() public method

public sendRPC ( string node, string mod, string fun, Erlang args, Erlang ioServer ) : void
node string
mod string
fun string
args Erlang
ioServer Erlang
return void

sendRPCcast() public method

public sendRPCcast ( string node, Erlang mod, Erlang fun, Erlang args ) : void
node string
mod Erlang
fun Erlang
args Erlang
return void

sendRPCcast() public method

public sendRPCcast ( string node, Erlang mod, Erlang fun, Erlang args, Erlang ioServer ) : void
node string
mod Erlang
fun Erlang
args Erlang
ioServer Erlang
return void

unlink() public method

public unlink ( Erlang to ) : void
to Erlang
return void

whereis() public method

public whereis ( System name ) : Pid
name System
return Otp.Erlang.Pid