25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

exchange of information <strong>and</strong> control between the session layer <strong>and</strong> adjacent<br />

layers.<br />

Service primitives consist of comm<strong>and</strong>s <strong>and</strong> their respective response<br />

associated with the service provided <strong>and</strong> parameters. For example:<br />

X-service.type (parameter)<br />

Where X designates the layer providing the service; for WSP, it is S. The service<br />

types are the same as those used for WDP, illustrated in Table 18-1 on page 674.<br />

When using service primitives, additional parameters are possible. They<br />

describe certain types of parameters. For example:<br />

Addresses They describe client <strong>and</strong> server addresses to establish<br />

the session.<br />

Headers <strong>and</strong> body They describe the HTTP entity-body. The headers<br />

distinguish between requests <strong>and</strong> responses sent from<br />

client to the server or reverse. The body contains the<br />

content of the message.<br />

Capabilities These are service facilities, for example:<br />

684 <strong>TCP</strong>/<strong>IP</strong> <strong>Tutorial</strong> <strong>and</strong> <strong>Technical</strong> <strong>Overview</strong><br />

Largest transaction data unit<br />

Set of code page names<br />

Maximum of outst<strong>and</strong>ing requests<br />

The capabilities can be negotiated between the client <strong>and</strong><br />

the server.<br />

Push identifier Indicates that the received message is a push transaction<br />

of the session that is pending on the service interface.<br />

Reason The service provider uses the reason type to report the<br />

cause of a particular state of a primitive. Valid reasons<br />

are:<br />

PROTOERR The rules of the protocol prevented<br />

the peer from performing the<br />

operation in its current state. For<br />

example, the used PDU was not<br />

allowed.<br />

DISCONNECT The session was disconnected<br />

while the operation was still in<br />

progress.<br />

SUSPEND The session was suspended while<br />

the operation was still in progress.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!