dsg.smart
Interface PeerCreator


public interface PeerCreator

This is run on SMART Central to create a module chain as a peer to a module on client side. It is serialized on client and sent to SMART Central. No actual executable code is transferred; it must already be linked in on the client and server side.


Method Summary
 void createPeer(java.io.InputStream fin, java.io.OutputStream fout, Session ses)
          fin is the input stream coming FROM the client side.
 

Method Detail

createPeer

public void createPeer(java.io.InputStream fin,
                       java.io.OutputStream fout,
                       Session ses)
fin is the input stream coming FROM the client side. fout is the OutputStream going TO the client side. Extra data and parameters could have been passed through the implementation object of PeerCreator. createPeer() must create and link all modules --- as well as start them.