com.neeve.emx
Interface IEmxNwLnkEndpoint

All Known Subinterfaces:
IEmxNwLnkClientEndpoint, IEmxNwLnkPeerEndpoint, IEmxNwLnkServerEndpoint

public interface IEmxNwLnkEndpoint

The EMX Network Link root interface.

Threading:
An EMX network link endpoint is, typically, not safe for concurrent access by multiple threads. However, refer to the specific endpoint documentation for the endpoint specific threading model.

Method Summary
 void close()
          Close an endpoint.
 

Method Detail

close

void close()
           throws EEmxInvalidStateException,
                  EEmxNwLnkOpFailedException
Close an endpoint.

Throws:
EEmxInvalidStateException - This exception is thrown in case the user is attempting to close the endpoint when in an invalid state. The exact states in which an endpoint can be closed (determining when this exception is throw) is specified by the endpoint type i.e. a client endpoint will throw this exception under conditions different from a server or peer endpoint. Refer to the documentation of the specific typed endpoints for details.
EEmxNwLnkOpFailedException - This exception is thrown in case an error was encountered while closing the endpoint.

This method is used to close an endpoint and release all operating system resources allocated to the endpoint. The legality on when and in which states this method can be invoked is specified by the endpoint types.

Threading:
This method is not safe for concurrent access by multiple threads.


Copyright © 2015 Neeve Research, LLC. All Rights Reserved.