com.sentilla.net.rpc
Interface Procedure<T>

All Superinterfaces:
Serializable
All Known Implementing Classes:
RemoteGetPropertyBytes, RemoteGetPropertyKeys, RemoteGetPropertyObject, RemoteRemoveProperty, RemoteResetProperties, RemoteSetProperty, RemoteSetPropertyBytes, RemoteSetPropertyObject

public interface Procedure<T>
extends Serializable

Procedure is similar to Runnable with the addition that it returns a value of type T. Any Procedure which will transit the network must implement Serializable. The return type of said Procedure must implement Serializable as well.


Method Summary
 T run()
          Run the procedure and return its result.
 

Method Detail

run

T run()
Run the procedure and return its result.



Copyright © 2007 Sentilla Corporation. All Rights Reserved.