C# Class Erlang.NET.OtpNode

Inheritance: OtpLocalNode
Mostrar archivo Open project: takayuki/opensim-pcproject Class Usage Examples

Public Methods

Method 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

Method 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 method

public OtpNode ( String node ) : System
node String
return System

OtpNode() public method

public OtpNode ( String node, String cookie ) : System
node String
cookie String
return System

OtpNode() public method

public OtpNode ( String node, String cookie, int port ) : System
node String
cookie String
port int
return System

close() public method

public close ( ) : void
return void

closeMbox() public method

public closeMbox ( Erlang.NET.OtpMbox mbox ) : void
mbox Erlang.NET.OtpMbox
return void

closeMbox() public method

public closeMbox ( Erlang.NET.OtpMbox mbox, OtpErlangObject reason ) : void
mbox Erlang.NET.OtpMbox
reason OtpErlangObject
return void

createMbox() public method

public createMbox ( String name, bool sync ) : Erlang.NET.OtpMbox
name String
sync bool
return Erlang.NET.OtpMbox

createMbox() public method

public createMbox ( bool sync ) : Erlang.NET.OtpMbox
sync bool
return Erlang.NET.OtpMbox

deliver() public method

public deliver ( Erlang.NET.OtpMsg m ) : bool
m Erlang.NET.OtpMsg
return bool

deliverError() public method

public deliverError ( Erlang.NET.OtpCookedConnection conn, Exception e ) : void
conn Erlang.NET.OtpCookedConnection
e System.Exception
return void

getConnection() public method

public getConnection ( String node ) : Erlang.NET.OtpCookedConnection
node String
return Erlang.NET.OtpCookedConnection

getNames() public method

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

ping() public method

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

react() public method

public react ( Erlang.NET.OtpActor actor ) : void
actor Erlang.NET.OtpActor
return void

registerName() public method

public registerName ( String name, Erlang.NET.OtpMbox mbox ) : bool
name String
mbox Erlang.NET.OtpMbox
return bool

registerStatusHandler() public method

public registerStatusHandler ( Erlang.NET.OtpNodeStatus handler ) : void
handler Erlang.NET.OtpNodeStatus
return void

setFlags() public method

public setFlags ( int flags ) : void
flags int
return void

whereis() public method

public whereis ( String name ) : OtpErlangPid
name String
return OtpErlangPid