#NEWLINE# def createCumulusGateway( self , callbackScheduler , vdm = None ) : #NEWLINE# #INDENT# logging . info ( 'InMemoryCluster creating a RemoteGateway' ) #NEWLINE# return CumulusGatewayRemote . RemoteGateway ( self . callbackScheduler , VectorDataManager . constructVDM ( self . callbackScheduler , vdm . remoteGatewayCacheSize ) , self . channelManager . createChannelFactory ( ) , CumulusActiveMachines . CumulusActiveMachines ( self . sharedStateViewFactory ) , self . sharedStateViewFactory )