@ SuppressWarnings ( "unused" ) public void setOmemoStoreBackend ( OmemoStore < T_IdKeyPair , T_IdKey , T_PreKey , T_SigPreKey , T_Sess , T_Addr , T_ECPub , T_Bundle , T_Ciph > omemoStore ) { if ( this . omemoStore != null ) { throw new IllegalStateException ( "An OmemoStore backend has already been set." ) ; } this . omemoStore = omemoStore ; }
Set an omemoStore as backend . Throws an IllegalStateException if there is already a backend set .