org.universAAL.ri.gateway.eimanager.impl
Class ImportManagerImpl

Package class diagram package ImportManagerImpl
java.lang.Object
  extended by org.universAAL.ri.gateway.eimanager.impl.ImportManagerImpl
All Implemented Interfaces:
RemoteSpacesManager, IRegistryListener, ImportExecutor, ImportManager, RepoEIManager

public class ImportManagerImpl
extends Object
implements ImportManager, ImportExecutor, IRegistryListener, RemoteSpacesManager


Constructor Summary
ImportManagerImpl(GatewayCommunicator communicator)
           
 
Method Summary
 ImportEntry importRemoteContextEvents(BusMember sourceMember, ContextEventPattern[] cpe)
           
 ImportEntry importRemoteService(BusMember sourceMember, String serviceType, String serverNamespace)
           
 ImportEntry importRemoteUI(BusMember sourceMember, String uiType)
           
 void internalImportRemoteService(String uuid, BusMember sourceMember, String targetServiceType, String serverNamespace)
           
 void internalImportRemoteUI(String uuid, BusMember sourceMember, String targetUIType)
           
 void memberAdded(BusMember member)
           
 void memberRemoved(BusMember member)
           
 void refreshProxy(ProxyRegistration proxyRegistration)
           
 void registryEntryAdded(RegistryEntry entry)
           
 void registryEntryRemoved(RegistryEntry entry)
           
 void removeRemoteBusMember(BusMember sourceMember, String targetMemberIdRegex)
           
 void sendContextEvent(String sourceId, ContextEvent event)
           
 void sendUIResponse(String sourceId, UIResponse response)
           
 void shutdown()
           
 boolean unimportRemoteService(ImportEntry importEntry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportManagerImpl

public ImportManagerImpl(GatewayCommunicator communicator)
Method Detail

shutdown

public void shutdown()

sendContextEvent

public void sendContextEvent(String sourceId,
                             ContextEvent event)
Specified by:
sendContextEvent in interface ImportManager

sendUIResponse

public void sendUIResponse(String sourceId,
                           UIResponse response)
Specified by:
sendUIResponse in interface ImportManager

removeRemoteBusMember

public void removeRemoteBusMember(BusMember sourceMember,
                                  String targetMemberIdRegex)
Specified by:
removeRemoteBusMember in interface ImportExecutor

memberAdded

public void memberAdded(BusMember member)
Specified by:
memberAdded in interface RepoEIManager

memberRemoved

public void memberRemoved(BusMember member)
Specified by:
memberRemoved in interface RepoEIManager

registryEntryAdded

public void registryEntryAdded(RegistryEntry entry)
Specified by:
registryEntryAdded in interface IRegistryListener

registryEntryRemoved

public void registryEntryRemoved(RegistryEntry entry)
Specified by:
registryEntryRemoved in interface IRegistryListener

importRemoteService

public ImportEntry importRemoteService(BusMember sourceMember,
                                       String serviceType,
                                       String serverNamespace)
                                throws IOException,
                                       ClassNotFoundException
Specified by:
importRemoteService in interface RemoteSpacesManager
Throws:
IOException
ClassNotFoundException

internalImportRemoteService

public void internalImportRemoteService(String uuid,
                                        BusMember sourceMember,
                                        String targetServiceType,
                                        String serverNamespace)
                                 throws IOException,
                                        ClassNotFoundException
Specified by:
internalImportRemoteService in interface ImportExecutor
Throws:
IOException
ClassNotFoundException

importRemoteContextEvents

public ImportEntry importRemoteContextEvents(BusMember sourceMember,
                                             ContextEventPattern[] cpe)
                                      throws IOException,
                                             ClassNotFoundException
Specified by:
importRemoteContextEvents in interface RemoteSpacesManager
Throws:
IOException
ClassNotFoundException

refreshProxy

public void refreshProxy(ProxyRegistration proxyRegistration)
                  throws IOException,
                         ClassNotFoundException
Specified by:
refreshProxy in interface ImportManager
Throws:
IOException
ClassNotFoundException

unimportRemoteService

public boolean unimportRemoteService(ImportEntry importEntry)
                              throws IOException,
                                     ClassNotFoundException
Specified by:
unimportRemoteService in interface RemoteSpacesManager
Throws:
IOException
ClassNotFoundException

importRemoteUI

public ImportEntry importRemoteUI(BusMember sourceMember,
                                  String uiType)
                           throws IOException,
                                  ClassNotFoundException
Specified by:
importRemoteUI in interface RemoteSpacesManager
Throws:
IOException
ClassNotFoundException

internalImportRemoteUI

public void internalImportRemoteUI(String uuid,
                                   BusMember sourceMember,
                                   String targetUIType)
                            throws IOException,
                                   ClassNotFoundException
Throws:
IOException
ClassNotFoundException


Copyright © 2014 universAAL Consortium. All Rights Reserved.