public void adoptCache(ResourceCache cache, MeTLServerAddress server) { if (imageSpecification == null) imageSpecification = new MeTLStanzas.Image(this); this.cache = cache; this.server = server; imageSpecification.adoptCache(cache, server); }
public void adoptCache(ResourceCache cache, MeTLServerAddress server) { if (videoSpecification == null) videoSpecification = new MeTLStanzas.Video(this); videoSpecification.adoptCache(cache, server); }
public Image adoptCache(ResourceCache cache, MeTLServerAddress server) { this.cache = cache; this.server = server; return this; }