Channel

public interface Channel<P extends PortType>

The Channel class.

Author:Cosmin Arad <cosmin@sics.se>, Jim Dowling <jdowling@sics.se>, Lars Kroll <lkroll@kth.se>

Fields

ONE_WAY_NEG

public static ChannelFactory ONE_WAY_NEG

Factory for unidirectional channels from positive to negative.

ONE_WAY_POS

public static ChannelFactory ONE_WAY_POS

Factory for unidirectional channels from negative to positive.

TWO_WAY

public static ChannelFactory TWO_WAY

Factory for bidirectional channels.

Methods

disconnect

public void disconnect()

getPortType

public P getPortType()

Gets the port type.

Returns:the port type