Package se.sics.kompics
Interface Channel<P extends PortType>
- All Known Subinterfaces:
ChannelCore<P>
- All Known Implementing Classes:
BiDirectionalChannel
,SimpleChannel
,UniDirectionalChannel
public interface Channel<P extends PortType>
The
Channel
class.
- Version:
- $Id$
- Author:
- Cosmin Arad <[email protected]>, Jim Dowling <[email protected]>, Lars Kroll <[email protected]>
-
Field Summary
Fields Modifier and Type Field Description static ChannelFactory
ONE_WAY_NEG
Factory for unidirectional channels from positive to negative.static ChannelFactory
ONE_WAY_POS
Factory for unidirectional channels from negative to positive.static ChannelFactory
TWO_WAY
Factory for bidirectional channels. -
Method Summary
Modifier and Type Method Description void
disconnect()
P
getPortType()
Gets the port type.
-
Field Details
-
TWO_WAY
Factory for bidirectional channels. -
ONE_WAY_POS
Factory for unidirectional channels from negative to positive. -
ONE_WAY_NEG
Factory for unidirectional channels from positive to negative.
-
-
Method Details
-
disconnect
void disconnect() -
getPortType
P getPortType()Gets the port type.- Returns:
- the port type
-