groovyx.gpars.serial
Class RemoteHandle

java.lang.Object
  extended by groovyx.gpars.serial.RemoteHandle
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DefaultRemoteHandle

public abstract class RemoteHandle
extends java.lang.Object
implements java.io.Serializable

Author:
Alex Tkachman
See Also:
Serialized Form

Field Summary
protected  java.util.UUID hostId
           
protected  java.util.UUID serialId
           
private static long serialVersionUID
           
 
Constructor Summary
RemoteHandle(java.util.UUID hostId, java.util.UUID id)
           
 
Method Summary
protected abstract  WithSerialId createObject(SerialContext context)
           
protected  java.lang.Object readResolve()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

serialId

protected final java.util.UUID serialId

hostId

protected final java.util.UUID hostId
Constructor Detail

RemoteHandle

public RemoteHandle(java.util.UUID hostId,
                    java.util.UUID id)
Method Detail

readResolve

protected final java.lang.Object readResolve()
                                      throws java.io.ObjectStreamException
Throws:
java.io.ObjectStreamException

createObject

protected abstract WithSerialId createObject(SerialContext context)
                                      throws java.lang.InstantiationException,
                                             java.lang.IllegalAccessException,
                                             java.lang.reflect.InvocationTargetException,
                                             java.lang.NoSuchMethodException
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException

Copyright © 2008–2012 Václav Pech. All Rights Reserved.