[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Unbind and related questions (WG last call on the Java API)



"Kurt D. Zeilenga" wrote:
> 
> Under what circumstances is an API implementation
> required to send an Unbind request?  with disconnect()?
> if so, how do you drop the connection without sending
> an Unbind (such upon receipt of a notice of disconnect
> or an invalid PDU)?

  An API implementation is not required to send an Unbind request before disconnecting (or otherwise).

 
> How are notices of disconnect handled?

  The client treats the connection as closed by the server (the server is expected to close the connection after sending the notice, but the client treats the connection as closed even if that does not happen)


> How are invalid PDUs handled?

  Haven't thought about that (haven't run into it with any servers I've used). How are they handled by the C API?


> How are valid but unrecognized by the API PDU handled?

  Do you mean unsolicited messages? Or responses to client requests that are valid but not recognized? If the latter, could you give an example of a response to a client request that is valid but not recognized?


Rob