public class MockDavConnection
extends java.lang.Object
implements de.bsvrz.dav.daf.main.ClientDavInterface
Modifier and Type | Field and Description |
---|---|
java.util.List<de.bsvrz.datex2.test.mockclasses.MockDavConnection.ReceiverList> |
clientReceiverInterface |
Constructor and Description |
---|
MockDavConnection(de.bsvrz.dav.daf.main.ClientDavParameters arg0,
de.bsvrz.dav.daf.main.config.DataModel arg1) |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionListener(de.bsvrz.dav.daf.main.DavConnectionListener arg0) |
boolean |
checkLoggedUserNameAndPassword(java.lang.String arg0,
java.lang.String arg1) |
void |
connect() |
de.bsvrz.dav.daf.main.Data |
createData(de.bsvrz.dav.daf.main.config.AttributeGroup arg0) |
void |
disconnect(boolean arg0,
java.lang.String arg1) |
void |
enableExplicitApplicationReadyMessage() |
de.bsvrz.dav.daf.main.archive.ArchiveRequestManager |
getArchive() |
de.bsvrz.dav.daf.main.archive.ArchiveRequestManager |
getArchive(de.bsvrz.dav.daf.main.config.SystemObject arg0) |
de.bsvrz.dav.daf.main.ResultData[] |
getCachedData(de.bsvrz.dav.daf.main.config.SystemObject[] arg0,
de.bsvrz.dav.daf.main.DataDescription arg1,
de.bsvrz.dav.daf.main.ReceiveOptions arg2,
de.bsvrz.dav.daf.main.HistorySpecification arg3) |
de.bsvrz.dav.daf.main.ClientDavParameters |
getClientDavParameters() |
de.bsvrz.dav.daf.main.ResultData[] |
getData(de.bsvrz.dav.daf.main.config.SystemObject[] arg0,
de.bsvrz.dav.daf.main.DataDescription arg1,
long arg2) |
de.bsvrz.dav.daf.main.ResultData |
getData(de.bsvrz.dav.daf.main.config.SystemObject arg0,
de.bsvrz.dav.daf.main.DataDescription arg1,
long arg2) |
de.bsvrz.dav.daf.main.config.DataModel |
getDataModel() |
de.bsvrz.dav.daf.main.config.DataModel |
getDataModel(long arg0) |
de.bsvrz.dav.daf.main.config.DataModel |
getDataModel(java.lang.String arg0) |
de.bsvrz.dav.daf.main.config.DataModel |
getDataModel(de.bsvrz.dav.daf.main.config.SystemObject arg0) |
long |
getDavRoundTripTime() |
de.bsvrz.dav.daf.main.config.ClientApplication |
getLocalApplicationObject() |
de.bsvrz.dav.daf.main.config.ConfigurationAuthority |
getLocalConfigurationAuthority() |
de.bsvrz.dav.daf.main.config.DavApplication |
getLocalDav() |
de.bsvrz.dav.daf.main.config.DynamicObject |
getLocalUser() |
java.util.Set<de.bsvrz.dav.daf.main.ClientReceiverInterface> |
getReceiver(de.bsvrz.dav.daf.main.config.SystemObject obj) |
long |
getTime() |
de.bsvrz.dav.daf.main.Transactions |
getTransactions() |
void |
login() |
void |
login(java.lang.String arg0,
java.lang.String arg1) |
void |
removeConnectionListener(de.bsvrz.dav.daf.main.DavConnectionListener arg0) |
void |
sendApplicationReadyMessage() |
void |
sendData(de.bsvrz.dav.daf.main.ResultData arg0) |
void |
sendData(de.bsvrz.dav.daf.main.ResultData[] arg0) |
void |
setCloseHandler(de.bsvrz.dav.daf.main.ApplicationCloseActionHandler arg0) |
void |
setDataModel(MockDataModel dataModel2) |
void |
sleep(long arg0) |
void |
sleepUntil(long arg0) |
void |
subscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0,
java.util.Collection<de.bsvrz.dav.daf.main.config.SystemObject> arg1,
de.bsvrz.dav.daf.main.DataDescription arg2,
de.bsvrz.dav.daf.main.ReceiveOptions arg3,
de.bsvrz.dav.daf.main.ReceiverRole arg4) |
void |
subscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0,
java.util.Collection<de.bsvrz.dav.daf.main.config.SystemObject> arg1,
de.bsvrz.dav.daf.main.DataDescription arg2,
de.bsvrz.dav.daf.main.ReceiveOptions arg3,
de.bsvrz.dav.daf.main.ReceiverRole arg4,
long arg5) |
void |
subscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0,
de.bsvrz.dav.daf.main.config.SystemObject[] arg1,
de.bsvrz.dav.daf.main.DataDescription arg2,
de.bsvrz.dav.daf.main.ReceiveOptions arg3,
de.bsvrz.dav.daf.main.ReceiverRole arg4) |
void |
subscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0,
de.bsvrz.dav.daf.main.config.SystemObject[] arg1,
de.bsvrz.dav.daf.main.DataDescription arg2,
de.bsvrz.dav.daf.main.ReceiveOptions arg3,
de.bsvrz.dav.daf.main.ReceiverRole arg4,
long arg5) |
void |
subscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0,
de.bsvrz.dav.daf.main.config.SystemObject arg1,
de.bsvrz.dav.daf.main.DataDescription arg2,
de.bsvrz.dav.daf.main.ReceiveOptions arg3,
de.bsvrz.dav.daf.main.ReceiverRole arg4) |
void |
subscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0,
de.bsvrz.dav.daf.main.config.SystemObject arg1,
de.bsvrz.dav.daf.main.DataDescription arg2,
de.bsvrz.dav.daf.main.ReceiveOptions arg3,
de.bsvrz.dav.daf.main.ReceiverRole arg4,
long arg5) |
void |
subscribeSender(de.bsvrz.dav.daf.main.ClientSenderInterface arg0,
java.util.Collection<de.bsvrz.dav.daf.main.config.SystemObject> arg1,
de.bsvrz.dav.daf.main.DataDescription arg2,
de.bsvrz.dav.daf.main.SenderRole arg3) |
void |
subscribeSender(de.bsvrz.dav.daf.main.ClientSenderInterface arg0,
de.bsvrz.dav.daf.main.config.SystemObject[] arg1,
de.bsvrz.dav.daf.main.DataDescription arg2,
de.bsvrz.dav.daf.main.SenderRole arg3) |
void |
subscribeSender(de.bsvrz.dav.daf.main.ClientSenderInterface arg0,
de.bsvrz.dav.daf.main.config.SystemObject arg1,
de.bsvrz.dav.daf.main.DataDescription arg2,
de.bsvrz.dav.daf.main.SenderRole arg3) |
void |
subscribeSource(de.bsvrz.dav.daf.main.ClientSenderInterface arg0,
de.bsvrz.dav.daf.main.ResultData arg1) |
void |
unsubscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0,
java.util.Collection<de.bsvrz.dav.daf.main.config.SystemObject> arg1,
de.bsvrz.dav.daf.main.DataDescription arg2) |
void |
unsubscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0,
de.bsvrz.dav.daf.main.config.SystemObject[] arg1,
de.bsvrz.dav.daf.main.DataDescription arg2) |
void |
unsubscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0,
de.bsvrz.dav.daf.main.config.SystemObject arg1,
de.bsvrz.dav.daf.main.DataDescription arg2) |
void |
unsubscribeSender(de.bsvrz.dav.daf.main.ClientSenderInterface arg0,
java.util.Collection<de.bsvrz.dav.daf.main.config.SystemObject> arg1,
de.bsvrz.dav.daf.main.DataDescription arg2) |
void |
unsubscribeSender(de.bsvrz.dav.daf.main.ClientSenderInterface arg0,
de.bsvrz.dav.daf.main.config.SystemObject[] arg1,
de.bsvrz.dav.daf.main.DataDescription arg2) |
void |
unsubscribeSender(de.bsvrz.dav.daf.main.ClientSenderInterface arg0,
de.bsvrz.dav.daf.main.config.SystemObject arg1,
de.bsvrz.dav.daf.main.DataDescription arg2) |
public java.util.List<de.bsvrz.datex2.test.mockclasses.MockDavConnection.ReceiverList> clientReceiverInterface
public MockDavConnection(de.bsvrz.dav.daf.main.ClientDavParameters arg0, de.bsvrz.dav.daf.main.config.DataModel arg1) throws de.bsvrz.dav.daf.main.MissingParameterException
de.bsvrz.dav.daf.main.MissingParameterException
public java.util.Set<de.bsvrz.dav.daf.main.ClientReceiverInterface> getReceiver(de.bsvrz.dav.daf.main.config.SystemObject obj)
public void addConnectionListener(de.bsvrz.dav.daf.main.DavConnectionListener arg0)
addConnectionListener
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public boolean checkLoggedUserNameAndPassword(java.lang.String arg0, java.lang.String arg1)
checkLoggedUserNameAndPassword
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void connect() throws de.bsvrz.dav.daf.main.CommunicationError, de.bsvrz.dav.daf.main.ConnectionException
connect
in interface de.bsvrz.dav.daf.main.ClientDavInterface
de.bsvrz.dav.daf.main.CommunicationError
de.bsvrz.dav.daf.main.ConnectionException
public de.bsvrz.dav.daf.main.Data createData(de.bsvrz.dav.daf.main.config.AttributeGroup arg0)
createData
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void disconnect(boolean arg0, java.lang.String arg1)
disconnect
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void enableExplicitApplicationReadyMessage()
enableExplicitApplicationReadyMessage
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public de.bsvrz.dav.daf.main.archive.ArchiveRequestManager getArchive()
getArchive
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public de.bsvrz.dav.daf.main.archive.ArchiveRequestManager getArchive(de.bsvrz.dav.daf.main.config.SystemObject arg0)
getArchive
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public de.bsvrz.dav.daf.main.ResultData[] getCachedData(de.bsvrz.dav.daf.main.config.SystemObject[] arg0, de.bsvrz.dav.daf.main.DataDescription arg1, de.bsvrz.dav.daf.main.ReceiveOptions arg2, de.bsvrz.dav.daf.main.HistorySpecification arg3)
getCachedData
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public de.bsvrz.dav.daf.main.ClientDavParameters getClientDavParameters()
getClientDavParameters
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public de.bsvrz.dav.daf.main.ResultData getData(de.bsvrz.dav.daf.main.config.SystemObject arg0, de.bsvrz.dav.daf.main.DataDescription arg1, long arg2)
getData
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public de.bsvrz.dav.daf.main.ResultData[] getData(de.bsvrz.dav.daf.main.config.SystemObject[] arg0, de.bsvrz.dav.daf.main.DataDescription arg1, long arg2)
getData
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public de.bsvrz.dav.daf.main.config.DataModel getDataModel()
getDataModel
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public de.bsvrz.dav.daf.main.config.DataModel getDataModel(de.bsvrz.dav.daf.main.config.SystemObject arg0) throws de.bsvrz.dav.daf.main.config.ConfigurationTaskException
getDataModel
in interface de.bsvrz.dav.daf.main.ClientDavInterface
de.bsvrz.dav.daf.main.config.ConfigurationTaskException
public de.bsvrz.dav.daf.main.config.DataModel getDataModel(java.lang.String arg0) throws de.bsvrz.dav.daf.main.config.ConfigurationTaskException
getDataModel
in interface de.bsvrz.dav.daf.main.ClientDavInterface
de.bsvrz.dav.daf.main.config.ConfigurationTaskException
public de.bsvrz.dav.daf.main.config.DataModel getDataModel(long arg0) throws de.bsvrz.dav.daf.main.config.ConfigurationTaskException
getDataModel
in interface de.bsvrz.dav.daf.main.ClientDavInterface
de.bsvrz.dav.daf.main.config.ConfigurationTaskException
public long getDavRoundTripTime()
getDavRoundTripTime
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public de.bsvrz.dav.daf.main.config.ClientApplication getLocalApplicationObject()
getLocalApplicationObject
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public de.bsvrz.dav.daf.main.config.ConfigurationAuthority getLocalConfigurationAuthority()
getLocalConfigurationAuthority
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public de.bsvrz.dav.daf.main.config.DavApplication getLocalDav()
getLocalDav
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public de.bsvrz.dav.daf.main.config.DynamicObject getLocalUser()
getLocalUser
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public long getTime()
getTime
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public de.bsvrz.dav.daf.main.Transactions getTransactions()
getTransactions
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void login() throws de.bsvrz.dav.daf.main.InconsistentLoginException, de.bsvrz.dav.daf.main.CommunicationError
login
in interface de.bsvrz.dav.daf.main.ClientDavInterface
de.bsvrz.dav.daf.main.InconsistentLoginException
de.bsvrz.dav.daf.main.CommunicationError
public void login(java.lang.String arg0, java.lang.String arg1) throws de.bsvrz.dav.daf.main.InconsistentLoginException, de.bsvrz.dav.daf.main.CommunicationError
login
in interface de.bsvrz.dav.daf.main.ClientDavInterface
de.bsvrz.dav.daf.main.InconsistentLoginException
de.bsvrz.dav.daf.main.CommunicationError
public void removeConnectionListener(de.bsvrz.dav.daf.main.DavConnectionListener arg0)
removeConnectionListener
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void sendApplicationReadyMessage()
sendApplicationReadyMessage
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void sendData(de.bsvrz.dav.daf.main.ResultData arg0) throws de.bsvrz.dav.daf.main.DataNotSubscribedException, de.bsvrz.dav.daf.main.SendSubscriptionNotConfirmed
sendData
in interface de.bsvrz.dav.daf.main.ClientDavInterface
de.bsvrz.dav.daf.main.DataNotSubscribedException
de.bsvrz.dav.daf.main.SendSubscriptionNotConfirmed
public void sendData(de.bsvrz.dav.daf.main.ResultData[] arg0) throws de.bsvrz.dav.daf.main.DataNotSubscribedException, de.bsvrz.dav.daf.main.SendSubscriptionNotConfirmed
sendData
in interface de.bsvrz.dav.daf.main.ClientDavInterface
de.bsvrz.dav.daf.main.DataNotSubscribedException
de.bsvrz.dav.daf.main.SendSubscriptionNotConfirmed
public void setCloseHandler(de.bsvrz.dav.daf.main.ApplicationCloseActionHandler arg0)
setCloseHandler
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void sleep(long arg0)
sleep
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void sleepUntil(long arg0)
sleepUntil
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void subscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0, de.bsvrz.dav.daf.main.config.SystemObject[] arg1, de.bsvrz.dav.daf.main.DataDescription arg2, de.bsvrz.dav.daf.main.ReceiveOptions arg3, de.bsvrz.dav.daf.main.ReceiverRole arg4)
subscribeReceiver
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void subscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0, de.bsvrz.dav.daf.main.config.SystemObject arg1, de.bsvrz.dav.daf.main.DataDescription arg2, de.bsvrz.dav.daf.main.ReceiveOptions arg3, de.bsvrz.dav.daf.main.ReceiverRole arg4)
subscribeReceiver
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void subscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0, java.util.Collection<de.bsvrz.dav.daf.main.config.SystemObject> arg1, de.bsvrz.dav.daf.main.DataDescription arg2, de.bsvrz.dav.daf.main.ReceiveOptions arg3, de.bsvrz.dav.daf.main.ReceiverRole arg4)
subscribeReceiver
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void subscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0, de.bsvrz.dav.daf.main.config.SystemObject[] arg1, de.bsvrz.dav.daf.main.DataDescription arg2, de.bsvrz.dav.daf.main.ReceiveOptions arg3, de.bsvrz.dav.daf.main.ReceiverRole arg4, long arg5)
subscribeReceiver
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void subscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0, de.bsvrz.dav.daf.main.config.SystemObject arg1, de.bsvrz.dav.daf.main.DataDescription arg2, de.bsvrz.dav.daf.main.ReceiveOptions arg3, de.bsvrz.dav.daf.main.ReceiverRole arg4, long arg5)
subscribeReceiver
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void subscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0, java.util.Collection<de.bsvrz.dav.daf.main.config.SystemObject> arg1, de.bsvrz.dav.daf.main.DataDescription arg2, de.bsvrz.dav.daf.main.ReceiveOptions arg3, de.bsvrz.dav.daf.main.ReceiverRole arg4, long arg5)
subscribeReceiver
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void subscribeSender(de.bsvrz.dav.daf.main.ClientSenderInterface arg0, java.util.Collection<de.bsvrz.dav.daf.main.config.SystemObject> arg1, de.bsvrz.dav.daf.main.DataDescription arg2, de.bsvrz.dav.daf.main.SenderRole arg3) throws de.bsvrz.dav.daf.main.OneSubscriptionPerSendData
subscribeSender
in interface de.bsvrz.dav.daf.main.ClientDavInterface
de.bsvrz.dav.daf.main.OneSubscriptionPerSendData
public void subscribeSender(de.bsvrz.dav.daf.main.ClientSenderInterface arg0, de.bsvrz.dav.daf.main.config.SystemObject[] arg1, de.bsvrz.dav.daf.main.DataDescription arg2, de.bsvrz.dav.daf.main.SenderRole arg3) throws de.bsvrz.dav.daf.main.OneSubscriptionPerSendData
subscribeSender
in interface de.bsvrz.dav.daf.main.ClientDavInterface
de.bsvrz.dav.daf.main.OneSubscriptionPerSendData
public void subscribeSender(de.bsvrz.dav.daf.main.ClientSenderInterface arg0, de.bsvrz.dav.daf.main.config.SystemObject arg1, de.bsvrz.dav.daf.main.DataDescription arg2, de.bsvrz.dav.daf.main.SenderRole arg3) throws de.bsvrz.dav.daf.main.OneSubscriptionPerSendData
subscribeSender
in interface de.bsvrz.dav.daf.main.ClientDavInterface
de.bsvrz.dav.daf.main.OneSubscriptionPerSendData
public void subscribeSource(de.bsvrz.dav.daf.main.ClientSenderInterface arg0, de.bsvrz.dav.daf.main.ResultData arg1) throws de.bsvrz.dav.daf.main.OneSubscriptionPerSendData
subscribeSource
in interface de.bsvrz.dav.daf.main.ClientDavInterface
de.bsvrz.dav.daf.main.OneSubscriptionPerSendData
public void unsubscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0, de.bsvrz.dav.daf.main.config.SystemObject[] arg1, de.bsvrz.dav.daf.main.DataDescription arg2)
unsubscribeReceiver
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void unsubscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0, java.util.Collection<de.bsvrz.dav.daf.main.config.SystemObject> arg1, de.bsvrz.dav.daf.main.DataDescription arg2)
unsubscribeReceiver
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void unsubscribeReceiver(de.bsvrz.dav.daf.main.ClientReceiverInterface arg0, de.bsvrz.dav.daf.main.config.SystemObject arg1, de.bsvrz.dav.daf.main.DataDescription arg2)
unsubscribeReceiver
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void unsubscribeSender(de.bsvrz.dav.daf.main.ClientSenderInterface arg0, java.util.Collection<de.bsvrz.dav.daf.main.config.SystemObject> arg1, de.bsvrz.dav.daf.main.DataDescription arg2)
unsubscribeSender
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void unsubscribeSender(de.bsvrz.dav.daf.main.ClientSenderInterface arg0, de.bsvrz.dav.daf.main.config.SystemObject[] arg1, de.bsvrz.dav.daf.main.DataDescription arg2)
unsubscribeSender
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void unsubscribeSender(de.bsvrz.dav.daf.main.ClientSenderInterface arg0, de.bsvrz.dav.daf.main.config.SystemObject arg1, de.bsvrz.dav.daf.main.DataDescription arg2)
unsubscribeSender
in interface de.bsvrz.dav.daf.main.ClientDavInterface
public void setDataModel(MockDataModel dataModel2)