| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|
com.newstep.solid.comm
|
+--com.newstep.solid.comm.ProtocolElement
public abstract class ProtocolElement
ProtocolElement provides a mechanism for creating discrete protocol functions and chaining them together into a protocol. The chaining mechanism provided by the ProtocolElement allows new protocols to be reuse the discrete functions.
ProtocolElement represents a Channel that provides a discrete function within a protocol stack/chain (e.g. message framing, message ordering). As such, ProtocolElements do not stand on their own as a discrete protocols, each element delegates further processing to a sub-channel. Protocols are realized through the chaining of ProtocolElements and Channels. Examples of possible protocol elements are :
- message framing
- message acknowledgment & retransmission
- message ordering
- heart beating
- channel redundancy
- encryption
NOTE: Many existing protocols are composed of functions that have interdepencies that do not support segregation. As such the ProtocolElement supports the adoption of these protocols by allowing multiple functions to be implemented by a single ProtocolElement. In the worst case, a protocol implementation would be composed of a single ProtocolElement.
As such ProtocolElements support both the regular Channel interface for client access and the Channel listener interface such that they can
Abstract.
Implements:
ChannelListener
Links:
Kernel Association Association Link
Associates type:
aggregation
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier role:
subChannel
Supplier visibility:
private
Custom properties
link:
aggregation
Implementation Implementation Link
ProtocolElement provides a mechanism for creating discrete protocol functions and chaining them together into a protocol. The chaining mechanism provided by the ProtocolElement allows new protocols to be reuse the discrete functions.
ProtocolElement represents a Channel that provides a discrete function within a protocol stack/chain (e.g. message framing, message ordering). As such, ProtocolElements do not stand on their own as a discrete protocols, each element delegates further processing to a sub-channel. Protocols are realized through the chaining of ProtocolElements and Channels. Examples of possible protocol elements are :
- message framing
- message acknowledgment & retransmission
- message ordering
- heart beating
- channel redundancy
- encryption
NOTE: Many existing protocols are composed of functions that have interdepencies that do not support segregation. As such the ProtocolElement supports the adoption of these protocols by allowing multiple functions to be implemented by a single ProtocolElement. In the worst case, a protocol implementation would be composed of a single ProtocolElement.
As such ProtocolElements support both the regular Channel interface for client access and the Channel listener interface such that they can
Generalization Generalization Link
ProtocolElement provides a mechanism for creating discrete protocol functions and chaining them together into a protocol. The chaining mechanism provided by the ProtocolElement allows new protocols to be reuse the discrete functions.
ProtocolElement represents a Channel that provides a discrete function within a protocol stack/chain (e.g. message framing, message ordering). As such, ProtocolElements do not stand on their own as a discrete protocols, each element delegates further processing to a sub-channel. Protocols are realized through the chaining of ProtocolElements and Channels. Examples of possible protocol elements are :
- message framing
- message acknowledgment & retransmission
- message ordering
- heart beating
- channel redundancy
- encryption
NOTE: Many existing protocols are composed of functions that have interdepencies that do not support segregation. As such the ProtocolElement supports the adoption of these protocols by allowing multiple functions to be implemented by a single ProtocolElement. In the worst case, a protocol implementation would be composed of a single ProtocolElement.
As such ProtocolElements support both the regular Channel interface for client access and the Channel listener interface such that they can
| Constructor Summary |
public void |
|
public void |
|
public void |
|
| Method Summary |
public abstract void |
|
|
|
|
|
|
|
public abstract void |
|
public abstract void |
|
public void |
|
public void |
|
public abstract void |
|
Multiplicity:
1
public void ProtocolElement ()
Stereotype:
create
Stereotype:
create
public void ProtocolElement (Channel subChannel)
Stereotype:
create
public abstract void close ()
Abstract.
Throws:
ChannelException
public abstract void onMessage (Message message)
Abstract.
public abstract void open ()
Abstract.
Throws:
ChannelException
public void setRole (Type role)
public void setSubChannel (Channel channel)
public abstract void write (Message message)
Abstract.
Throws:
ChannelException
| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|