All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JavaGroups.JavaStack.Protocols.UDP

java.lang.Object
   |
   +----JavaGroups.JavaStack.Protocol
           |
           +----JavaGroups.JavaStack.Protocols.UDP

public class UDP
extends Protocol
implements LowLevelCommunication, Runnable

Constructor Index

 o UDP()

Method Index

 o Down(Event)
Caller by the layer above this layer.
 o GetLocalAddress()
 o GetName()
 o GetNewMulticastAddress()
 o JoinMulticastAddress(Address)
 o LeaveMulticastAddress(Address)
 o run()
 o SetProperties(Properties)
Setup the Protocol instance acording to the configuration string
 o StartWork()
Initialize data structures, start own threads etc.
 o StopWork()
Delete data structures, stop own threads etc.
 o toString()

Constructors

 o UDP
 public UDP()

Methods

 o toString
 public String toString()
Overrides:
toString in class Object
 o run
 public void run()
 o GetName
 public String GetName()
Overrides:
GetName in class Protocol
 o SetProperties
 public void SetProperties(Properties props)
Setup the Protocol instance acording to the configuration string

Overrides:
SetProperties in class Protocol
 o Down
 public void Down(Event evt)
Caller by the layer above this layer. Usually we just put this Message into the send queue and let one or more worker threads handle it. A worker thread then removes the Message from the send queue, performs a conversion and adds the modified Message to the send queue of the layer below it, by calling Down).

Overrides:
Down in class Protocol
 o StartWork
 public void StartWork()
Initialize data structures, start own threads etc.

Overrides:
StartWork in class Protocol
 o StopWork
 public synchronized void StopWork()
Delete data structures, stop own threads etc.

Overrides:
StopWork in class Protocol
 o GetLocalAddress
 public Address GetLocalAddress()
 o GetNewMulticastAddress
 public Address GetNewMulticastAddress()
 o JoinMulticastAddress
 public void JoinMulticastAddress(Address mcast_address)
 o LeaveMulticastAddress
 public void LeaveMulticastAddress(Address mcast_address)

All Packages  Class Hierarchy  This Package  Previous  Next  Index