Package org.jcsp.net2

Interface Networked

All Known Subinterfaces:
NetChannelInput<T>, NetChannelOutput<T>, NetConnectionClient, NetConnectionServer, NetSharedChannelInput<T>, NetSharedChannelOutput<T>
All Known Implementing Classes:
Any2NetChannel, MobileChannelInput, MobileChannelOutput, Net2AnyChannel, Net2OneChannel, NetAltingChannelInput, NetAltingConnectionClient, NetAltingConnectionServer, NetBarrier, One2NetChannel

public interface Networked
Defines a standard JCSP synchronization mechanism which is also networked. For concrete examples of this class, see NetBarrier, and the networked channels
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Destroys the Networked construct
    Gets the networked location of the Networked construct
  • Method Details

    • getLocation

      NetLocation getLocation()
      Gets the networked location of the Networked construct
      Returns:
      The location of the construct
    • destroy

      void destroy()
      Destroys the Networked construct