Lafros MaCS 1.2r1
|
|
com/lafros/macs/Di.scala
]
abstract
class
Di
extends
SubjectValue Summary | |
var
|
autoReregister
: Boolean
automatic re-registration (in case the target should become unavailable
for any reason). The default setting is true.
|
Method Summary | |
abstract def
|
register
: Unit
registers with the target.
|
abstract def
|
registerLater
: Unit
as for register(), but guaranteed to return, immediately.
|
abstract def
|
registerOrWait
: Unit
as for register(), but enters a sleep-retry loop if the target is
unavailable (rather than throwing an exception).
|
abstract def
|
setSamplesInPort
(port : Int) : Unit
sets a designated local port to which the socket that
will be created to receive subscription status samples must bind.
|
abstract def
|
setSamplesOutPort
(port : Int) : Unit
sets a designated local port to which the socket that
will be created to send status samples must bind.
|
abstract def
|
state
: scala.Enumeration.Value
returns one of the possible Di.States.
|
abstract def
|
unregister
: Unit
return the instance to the unregistered state. (Instances are
required to be in this state when being discarded.)
|
Methods inherited from Subject | |
subscribe, publish |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Value Details |
var
autoReregister : Boolean
Method Details |
IllegalStateException -
if called when not unboundIllegalStateException -
if called when not unboundabstract
def
register : Unit
DiNameTakenException -
if another DI is already registered under the same nameTargetUnavailableException -
if the target DI-registry is unavailableabstract
def
registerOrWait : Unit
InterruptedException -
if interrupted while sleepingDiNameTakenException -
if another DI is already registered under the same nameabstract
def
registerLater : Unit
abstract
def
unregister : Unit
abstract
def
state : scala.Enumeration.Value
Lafros MaCS 1.2r1
|
|