Scala Library
|
|
scala/actors/remote/TcpService.scala
]
class
TcpService(port : Int, cl : java.lang.ClassLoader)
extends
java.lang.Thread with
ServiceValue Summary | |
val
|
serializer : JavaSerializer |
Values and Variables inherited from Service | |
kernel |
Method Summary | |
def
|
connect (n : Node) : TcpServiceWorker |
def
|
disconnectNode (n : Node) : Unit |
def
|
getConnection (n : Node) : Option[TcpServiceWorker] |
def
|
isConnected (n : Node) : Boolean |
def
|
isReachable (node : Node) : Boolean |
def
|
node : Node |
def
|
nodeDown (mnode : Node) : Unit |
override def
|
run : Unit |
def
|
send
(node : Node, data : Array[Byte]) : Unit
Sends a byte array to another node on the network.
If the node is not yet up, up to
TcpService.BufSize
messages are buffered. |
def
|
terminate : Unit |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Value Details |
Method Details |
def
node : Node
TcpService.BufSize
messages are buffered.
def
terminate : Unit
override
def
run : Unit
def
getConnection(n : Node) : Option[TcpServiceWorker]
def
connect(n : Node) : TcpServiceWorker
Scala Library
|
|