Search in sources :

Example 1 with BookImportStorage

use of im.actor.core.modules.contacts.entity.BookImportStorage in project actor-platform by actorapp.

the class BookImportActor method preStart.

@Override
public void preStart() {
    super.preStart();
    byte[] data = context().getContactsModule().getBookImportState().get(0);
    if (data != null) {
        try {
            storage = new BookImportStorage(data);
        } catch (Exception e) {
            e.getLocalizedMessage();
        }
    }
}
Also used : BookImportStorage(im.actor.core.modules.contacts.entity.BookImportStorage) RpcException(im.actor.core.network.RpcException)

Aggregations

BookImportStorage (im.actor.core.modules.contacts.entity.BookImportStorage)1 RpcException (im.actor.core.network.RpcException)1