C# Class Otp.OtpMbox

Afficher le fichier Open project: saleyn/otp.net Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Equals ( System o ) : bool
o System
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

close() public méthode

public close ( ) : void
Résultat void

exit() public méthode

public exit ( Erlang to, System reason ) : void
to Erlang
reason System
Résultat void

flush() public méthode

public flush ( ) : void
Résultat void

getName() public méthode

public getName ( ) : System.String
Résultat System.String

getNames() public méthode

public getNames ( ) : System.String[]
Résultat System.String[]

link() public méthode

public link ( Erlang to ) : void
to Erlang
Résultat void

ping() public méthode

public ping ( System node, long timeout ) : bool
node System
timeout long
Résultat bool

receive() public méthode

public receive ( ) : Otp.Erlang.Object
Résultat Otp.Erlang.Object

receive() public méthode

public receive ( long timeout ) : Otp.Erlang.Object
timeout long
Résultat Otp.Erlang.Object

receiveBuf() public méthode

public receiveBuf ( ) : OtpInputStream
Résultat OtpInputStream

receiveBuf() public méthode

public receiveBuf ( long timeout ) : OtpInputStream
timeout long
Résultat OtpInputStream

receiveIO() public méthode

public receiveIO ( int timeout ) : string
timeout int
Résultat string

receiveMsg() public méthode

public receiveMsg ( ) : OtpMsg
Résultat OtpMsg

receiveMsg() public méthode

public receiveMsg ( long timeout ) : OtpMsg
timeout long
Résultat OtpMsg

receiveRPC() public méthode

public receiveRPC ( int timeout ) : Otp.Erlang.Object
timeout int
Résultat Otp.Erlang.Object

registerName() public méthode

public registerName ( System name ) : bool
name System
Résultat bool

rpcCall() public méthode

public rpcCall ( string node, Erlang mod, Erlang fun, Erlang args ) : Otp.Erlang.Object
node string
mod Erlang
fun Erlang
args Erlang
Résultat Otp.Erlang.Object

rpcCall() public méthode

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
Résultat Otp.Erlang.Object

rpcCall() public méthode

public rpcCall ( string node, string mod, string fun, Erlang args ) : Otp.Erlang.Object
node string
mod string
fun string
args Erlang
Résultat Otp.Erlang.Object

rpcCall() public méthode

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
Résultat Otp.Erlang.Object

self() public méthode

public self ( ) : Pid
Résultat Otp.Erlang.Pid

send() public méthode

public send ( Erlang to, Erlang msg ) : void
to Erlang
msg Erlang
Résultat void

send() public méthode

public send ( System name, Erlang msg ) : void
name System
msg Erlang
Résultat void

send() public méthode

public send ( System name, System node, Erlang msg ) : void
name System
node System
msg Erlang
Résultat void

sendRPC() public méthode

public sendRPC ( string node, Erlang mod, Erlang fun, Erlang args ) : void
node string
mod Erlang
fun Erlang
args Erlang
Résultat void

sendRPC() public méthode

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.
Résultat void

sendRPC() public méthode

public sendRPC ( string node, string mod, string fun, Erlang args ) : void
node string
mod string
fun string
args Erlang
Résultat void

sendRPC() public méthode

public sendRPC ( string node, string mod, string fun, Erlang args, Erlang ioServer ) : void
node string
mod string
fun string
args Erlang
ioServer Erlang
Résultat void

sendRPCcast() public méthode

public sendRPCcast ( string node, Erlang mod, Erlang fun, Erlang args ) : void
node string
mod Erlang
fun Erlang
args Erlang
Résultat void

sendRPCcast() public méthode

public sendRPCcast ( string node, Erlang mod, Erlang fun, Erlang args, Erlang ioServer ) : void
node string
mod Erlang
fun Erlang
args Erlang
ioServer Erlang
Résultat void

unlink() public méthode

public unlink ( Erlang to ) : void
to Erlang
Résultat void

whereis() public méthode

public whereis ( System name ) : Pid
name System
Résultat Otp.Erlang.Pid