Saturday, December 5, 2009

Service-Primitives

  • Service primitives - A service is formally specified by a set of primitives or operations available to the user to access the service. These primitives tell the service to perform some action or report an action taken by the peer entity. The primitives for the connection-oriented service are given in the table.

PrimitiveMeaning
LISTENBlock waiting for an incoming connection
CONNECTEstablish a connection with a waiting peer
RECEIVEBlock waiting for an incoming message
SENDSend a message to the peer
DISCONNECTTerminate a connection

    Each protocol which communicates in a layered architecture communicates in a peer-to-peer manner with its remote protocol entity. Communications between adjacent protocol layers are managed by calling functions, called primitives, between the layers. A primitive initiates an action or advises the result of an action. Each primitive may contain parameters to convey the Protocol Control Information (PCI) needed to perform its functions.

No comments:

Post a Comment