dsg.smart
Interface SmartCentral


public interface SmartCentral

Client-side proxy object representing connection to the Smart Central system. All RPC-type calls to Smart Central must be put in this class as methods.


Nested Class Summary
static class SmartCentral.GetPeerRet
          The return type of the getPeer() method.
 
Method Summary
 SmartCentral.GetPeerRet getPeer(PeerCreator create)
          Forms a nonblocking socket with SMART Central.
 

Method Detail

getPeer

public SmartCentral.GetPeerRet getPeer(PeerCreator create)
Forms a nonblocking socket with SMART Central. On the SMART Central side, a peer session is created if it does not already exist --- which matches up with the Session object from which getPeer() is run. Also, a peer socket is created and returned. PeerCreator object is executed on SMART Central --- and used to create any additional peer modules. NOTE: executable code is NOT transferred; serialized objects are only used to point to the appropriate executable code to run. It is assumed that client and SMART Central will both have the same classes available.