net.sf.asyncobjects.util.callbacks
Class MapperAdapter.InternalMapperAdapter

java.lang.Object
  extended by net.sf.asyncobjects.AsyncUnicastServer<AMapper<I,O>>
      extended by net.sf.asyncobjects.util.callbacks.MapperAdapter.InternalMapperAdapter
All Implemented Interfaces:
AsyncObject, ExplicitSharing, AMapper<I,O>
Enclosing class:
MapperAdapter<I,O>

public final class MapperAdapter.InternalMapperAdapter
extends AsyncUnicastServer<AMapper<I,O>>
implements AMapper<I,O>

An internal class that addapt Adapter calss to asynchronous interface.

Author:
const

Method Summary
 Promise<O> map(I value)
          Map a value
 
Methods inherited from class net.sf.asyncobjects.AsyncUnicastServer
dereference, export, isImmediate, myVat, promise
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.asyncobjects.AsyncObject
dereference, isImmediate
 

Method Detail

map

public Promise<O> map(I value)
Description copied from interface: AMapper
Map a value

Specified by:
map in interface AMapper<I,O>
Parameters:
value - a value to map
Returns:
a promise for mapped value
See Also:
AMapper.map(java.lang.Object)


Copyright 2002-2007 Constantine Plotnikov. All Rights Reserved.