orca.shirako.api
Interface IConcreteSetFactory

All Known Implementing Classes:
CodLocalFactory, CodSoapFactory, ConcreteSetFactory, LocalFactory, SoapFactory

public interface IConcreteSetFactory

IConcreteSetFactory defines the interface for concrete set factories. A concrete set factory allows IConcreteSet objects to be transmitted from one actor to another in a proxy-independent way: the sending actor "encodes" the set, and the receiving actor decodes it. This approach allows the core system to be easily extended without having to modify the proxy implementations.

An instance of a specific factory can be obtained from the ShirakoPlugin of the sending/receiving actor.


Method Summary
 IConcreteSet decode(java.lang.Object cs)
          Decodes an encoded concrete set.
 java.lang.Object encode(IConcreteSet cs)
          Encodes the concrete set for transmission.
 

Method Detail

encode

java.lang.Object encode(IConcreteSet cs)
                        throws java.lang.Exception
Encodes the concrete set for transmission.

Parameters:
cs - IConcreteSet to encode
Returns:
and encoded IConcreteSet
Throws:
java.lang.Exception

decode

IConcreteSet decode(java.lang.Object cs)
                    throws java.lang.Exception
Decodes an encoded concrete set.

Parameters:
cs - encoded IConcreteSet
Returns:
a decoded IConcreteSet
Throws:
java.lang.Exception


Copyright © 2007 Network/Internet Computing Lab. All Rights Reserved.