com.syncbuilderx.syncman
Class SMContext

java.lang.Object
  |
  +--com.syncbuilderx.syncman.SMContext

public class SMContext
extends java.lang.Object
implements SyncContext

SMContext defines the execution environment for SyncHandlers within the SyncMan application.


Constructor Summary
SMContext(SyncDialog sync_dialog)
           
 
Method Summary
 SyncSession createSession()
          A factory method to create a new SyncSession.
 int getMaxConcurrentSessions()
          Get the maximum number of concurrent sessions which can be handled by this kind of context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMContext

public SMContext(SyncDialog sync_dialog)
Method Detail

createSession

public SyncSession createSession()
A factory method to create a new SyncSession.
Specified by:
createSession in interface SyncContext

getMaxConcurrentSessions

public int getMaxConcurrentSessions()
Get the maximum number of concurrent sessions which can be handled by this kind of context. I am setting this to 1, because SyncMan cannot handle more than one concurrent synchronization session.
Specified by:
getMaxConcurrentSessions in interface SyncContext


This material is Copyrighted (C) 1999 by Tilo Christ. All Rights Reserved.