com.googlecode.mobilityrpc.common
Interface Destroyable

All Known Subinterfaces:
ConnectionInternal, ConnectionListenerInternal, ConnectionManagerInternal, Managed, MobilityController, MobilityControllerInternal
All Known Implementing Classes:
ConnectionManagerImpl, MobilityControllerImpl, TCPConnection, TCPConnectionListener

public interface Destroyable

An interface implemented by objects which have a destroy() method which can be called to shut down any resources the object was using (connections, threads etc.).

Author:
Niall Gallagher

Method Summary
 void destroy()
          Destroys (closes/shuts down) the resource(s) managed by the object, closing connections, stopping threads etc.
 

Method Detail

destroy

void destroy()
Destroys (closes/shuts down) the resource(s) managed by the object, closing connections, stopping threads etc. as necessary.



Copyright © 2016. All rights reserved.