C# Class Erlang.NET.OtpNode

Inheritance: OtpLocalNode
Afficher le fichier Open project: takayuki/opensim-pcproject Class Usage Examples

Méthodes publiques

Méthode Description
OtpNode ( String node ) : System
OtpNode ( String node, String cookie ) : System
OtpNode ( String node, String cookie, int port ) : System
close ( ) : void
closeMbox ( Erlang.NET.OtpMbox mbox ) : void
closeMbox ( Erlang.NET.OtpMbox mbox, OtpErlangObject reason ) : void
createMbox ( String name, bool sync ) : Erlang.NET.OtpMbox
createMbox ( bool sync ) : Erlang.NET.OtpMbox
deliver ( Erlang.NET.OtpMsg m ) : bool
deliverError ( Erlang.NET.OtpCookedConnection conn, Exception e ) : void
getConnection ( String node ) : Erlang.NET.OtpCookedConnection
getNames ( ) : String[]
ping ( String node, long timeout ) : bool
react ( Erlang.NET.OtpActor actor ) : void
registerName ( String name, Erlang.NET.OtpMbox mbox ) : bool
registerStatusHandler ( Erlang.NET.OtpNodeStatus handler ) : void
setFlags ( int flags ) : void
whereis ( String name ) : OtpErlangPid

Private Methods

Méthode Description
addConnection ( Erlang.NET.OtpCookedConnection conn ) : void
connAttempt ( String node, bool incoming, Object info ) : void
getPingTuple ( Erlang.NET.OtpMbox mbox ) : OtpErlangTuple
init ( int port ) : void
localStatus ( String node, bool up, Object info ) : void
netKernel ( Erlang.NET.OtpMsg m ) : bool
remoteStatus ( String node, bool up, Object info ) : void
removeConnection ( Erlang.NET.OtpCookedConnection conn ) : void

Method Details

OtpNode() public méthode

public OtpNode ( String node ) : System
node String
Résultat System

OtpNode() public méthode

public OtpNode ( String node, String cookie ) : System
node String
cookie String
Résultat System

OtpNode() public méthode

public OtpNode ( String node, String cookie, int port ) : System
node String
cookie String
port int
Résultat System

close() public méthode

public close ( ) : void
Résultat void

closeMbox() public méthode

public closeMbox ( Erlang.NET.OtpMbox mbox ) : void
mbox Erlang.NET.OtpMbox
Résultat void

closeMbox() public méthode

public closeMbox ( Erlang.NET.OtpMbox mbox, OtpErlangObject reason ) : void
mbox Erlang.NET.OtpMbox
reason OtpErlangObject
Résultat void

createMbox() public méthode

public createMbox ( String name, bool sync ) : Erlang.NET.OtpMbox
name String
sync bool
Résultat Erlang.NET.OtpMbox

createMbox() public méthode

public createMbox ( bool sync ) : Erlang.NET.OtpMbox
sync bool
Résultat Erlang.NET.OtpMbox

deliver() public méthode

public deliver ( Erlang.NET.OtpMsg m ) : bool
m Erlang.NET.OtpMsg
Résultat bool

deliverError() public méthode

public deliverError ( Erlang.NET.OtpCookedConnection conn, Exception e ) : void
conn Erlang.NET.OtpCookedConnection
e System.Exception
Résultat void

getConnection() public méthode

public getConnection ( String node ) : Erlang.NET.OtpCookedConnection
node String
Résultat Erlang.NET.OtpCookedConnection

getNames() public méthode

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

ping() public méthode

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

react() public méthode

public react ( Erlang.NET.OtpActor actor ) : void
actor Erlang.NET.OtpActor
Résultat void

registerName() public méthode

public registerName ( String name, Erlang.NET.OtpMbox mbox ) : bool
name String
mbox Erlang.NET.OtpMbox
Résultat bool

registerStatusHandler() public méthode

public registerStatusHandler ( Erlang.NET.OtpNodeStatus handler ) : void
handler Erlang.NET.OtpNodeStatus
Résultat void

setFlags() public méthode

public setFlags ( int flags ) : void
flags int
Résultat void

whereis() public méthode

public whereis ( String name ) : OtpErlangPid
name String
Résultat OtpErlangPid