C# Class K2Informatics.Erlnet.OtpNode

Inheritance: OtpLocalNode
Datei anzeigen Open project: K2InformaticsGmbH/erlnet 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 ( OtpMbox mbox ) : void
closeMbox ( OtpMbox mbox, OtpErlangObject reason ) : void
createMbox ( String name, bool sync ) : OtpMbox
createMbox ( bool sync ) : OtpMbox
deliver ( OtpMsg m ) : bool
deliverError ( OtpCookedConnection conn, Exception e ) : void
getConnection ( String node ) : OtpCookedConnection
getNames ( ) : String[]
ping ( String node, long timeout ) : bool
react ( OtpActor actor ) : void
registerName ( String name, OtpMbox mbox ) : bool
registerStatusHandler ( OtpNodeStatus handler ) : void
setFlags ( int flags ) : void
whereis ( String name ) : OtpErlangPid

Private Methods

Method Description
addConnection ( OtpCookedConnection conn ) : void
connAttempt ( String node, bool incoming, Object info ) : void
getPingTuple ( OtpMbox mbox ) : OtpErlangTuple
init ( int port ) : void
localStatus ( String node, bool up, Object info ) : void
netKernel ( OtpMsg m ) : bool
remoteStatus ( String node, bool up, Object info ) : void
removeConnection ( 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 ( OtpMbox mbox ) : void
mbox OtpMbox
return void

closeMbox() public method

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

createMbox() public method

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

createMbox() public method

public createMbox ( bool sync ) : OtpMbox
sync bool
return OtpMbox

deliver() public method

public deliver ( OtpMsg m ) : bool
m OtpMsg
return bool

deliverError() public method

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

getConnection() public method

public getConnection ( String node ) : OtpCookedConnection
node String
return 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 ( OtpActor actor ) : void
actor OtpActor
return void

registerName() public method

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

registerStatusHandler() public method

public registerStatusHandler ( OtpNodeStatus handler ) : void
handler 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