de.bsvrz.puk.config.main.communication.query
Class ForeignConfigRequester

java.lang.Object
  extended by de.bsvrz.puk.config.main.communication.query.ForeignConfigRequester

public class ForeignConfigRequester
extends Object

TBD RS dokumentieren.

Author:
Kappich Systemberatung

Nested Class Summary
static interface ForeignConfigRequester.ForeignCommunicationStateListener
           
 
Constructor Summary
ForeignConfigRequester(ForeignObjectManager foreignObjectManager, ConfigurationAuthority foreignAuthority, ForeignConfigReceiveCommunicator foreignConfigReceiveCommunicator)
           
 
Method Summary
 void addCommunicationStateListener(ForeignConfigRequester.ForeignCommunicationStateListener listener)
           
 ScheduledExecutorService getExecutor()
           
 ForeignMutableCollectionProxy getForeignMutableCollectionProxy(short internalSimVariant, MutableCollection mutableCollection)
           
 ForeignObjectManager getForeignObjectManager()
           
 int getNewRequestIndex()
           
 boolean isCommunicatorConnected()
           
 void queryObject(Long id, ForeignObjectTransferListener transferListener)
           
 void queryObjectData(ForeignDynamicObject object)
           
 void removeCommunicationStateListener(ForeignConfigRequester.ForeignCommunicationStateListener listener)
           
 int sendRequest(String messageType, byte[] data)
           
 int sendRequest(String messageType, byte[] data, int requestIndex)
           
 void subscribe(ForeignMutableCollectionProxy proxy)
           
 void unsubscribe(ForeignMutableCollectionProxy proxy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForeignConfigRequester

public ForeignConfigRequester(ForeignObjectManager foreignObjectManager,
                              ConfigurationAuthority foreignAuthority,
                              ForeignConfigReceiveCommunicator foreignConfigReceiveCommunicator)
Method Detail

getForeignMutableCollectionProxy

public ForeignMutableCollectionProxy getForeignMutableCollectionProxy(short internalSimVariant,
                                                                      MutableCollection mutableCollection)

getExecutor

public ScheduledExecutorService getExecutor()

subscribe

public void subscribe(ForeignMutableCollectionProxy proxy)

unsubscribe

public void unsubscribe(ForeignMutableCollectionProxy proxy)

getForeignObjectManager

public ForeignObjectManager getForeignObjectManager()

queryObject

public void queryObject(Long id,
                        ForeignObjectTransferListener transferListener)

queryObjectData

public void queryObjectData(ForeignDynamicObject object)

addCommunicationStateListener

public void addCommunicationStateListener(ForeignConfigRequester.ForeignCommunicationStateListener listener)

removeCommunicationStateListener

public void removeCommunicationStateListener(ForeignConfigRequester.ForeignCommunicationStateListener listener)

sendRequest

public int sendRequest(String messageType,
                       byte[] data)
                throws SendSubscriptionNotConfirmed,
                       IllegalStateException
Throws:
SendSubscriptionNotConfirmed
IllegalStateException

sendRequest

public int sendRequest(String messageType,
                       byte[] data,
                       int requestIndex)
                throws SendSubscriptionNotConfirmed,
                       IllegalStateException
Throws:
SendSubscriptionNotConfirmed
IllegalStateException

getNewRequestIndex

public int getNewRequestIndex()

isCommunicatorConnected

public boolean isCommunicatorConnected()