com.github.gcf.io
Class AbstractConnection
java.lang.Object
com.github.gcf.io.AbstractConnection
- All Implemented Interfaces:
- Connection
public abstract class AbstractConnection
- extends Object
- implements Connection
- Author:
- Marcel Patzlaff
|
Field Summary |
protected boolean |
closed
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
closed
protected boolean closed
AbstractConnection
public AbstractConnection()
close
public final void close()
throws IOException
- Specified by:
close in interface Connection
- Throws:
IOException
ensureOpen
protected void ensureOpen()
throws IOException
- Throws:
IOException
resourceAcquired
protected final void resourceAcquired(Object resource)
resourceReleased
protected final void resourceReleased(Object resource)
throws IOException
- Throws:
IOException
closeMainResource
protected void closeMainResource()
throws IOException
- Throws:
IOException
Copyright © 2007-2010. All Rights Reserved.