scalax.control

class UntranslatedManagedResource

[source: scalax/control/UntranslatedManagedResource.scala]

abstract class UntranslatedManagedResource[A]
extends ManagedResource[A]
The typical case of a ManagedResource, where the handle and resource are the same object.
Type Summary
type Handle
Method Summary
final def translate (v : A) : A
Should be implemented to translate a Handle into the desired resource type.
Methods inherited from ManagedResource
unsafeOpen (abstract), unsafeClose (abstract), unsafeCloseQuietly, unsafeCloseIgnoringException, foreach, flatMap, map, acquireFor, and
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Type Details
type Handle

Method Details
final def translate(v : A) : A
Should be implemented to translate a Handle into the desired resource type.
Overrides
ManagedResource.translate


Copyright (c) 2005-8 The Scalax Project. All Rights Reserved.