io.relayr.java.websocket.WebSocketClient$$InjectAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for connecting to the Relayr Cloud
The newest version!
// Code generated by dagger-compiler. Do not edit.
package io.relayr.java.websocket;
import dagger.internal.Binding;
import dagger.internal.Linker;
import io.relayr.java.api.ChannelApi;
import java.lang.Override;
import java.lang.SuppressWarnings;
import java.util.Set;
/**
* A {@code Binding} implementation which satisfies
* Dagger's infrastructure requirements including:
*
* Owning the dependency links between {@code io.relayr.java.websocket.WebSocketClient} and its
* dependencies.
*
* Being a {@code Provider} and handling creation and
* preparation of object instances.
*/
public final class WebSocketClient$$InjectAdapter extends Binding {
private Binding api;
private Binding factory;
public WebSocketClient$$InjectAdapter() {
super("io.relayr.java.websocket.WebSocketClient", "members/io.relayr.java.websocket.WebSocketClient", IS_SINGLETON, WebSocketClient.class);
}
/**
* Used internally to link bindings/providers together at run time
* according to their dependency graph.
*/
@Override
@SuppressWarnings("unchecked")
public void attach(Linker linker) {
api = (Binding) linker.requestBinding("io.relayr.java.api.ChannelApi", WebSocketClient.class, getClass().getClassLoader());
factory = (Binding) linker.requestBinding("io.relayr.java.websocket.WebSocketFactory", WebSocketClient.class, getClass().getClassLoader());
}
/**
* Used internally obtain dependency information, such as for cyclical
* graph detection.
*/
@Override
public void getDependencies(Set> getBindings, Set> injectMembersBindings) {
getBindings.add(api);
getBindings.add(factory);
}
/**
* Returns the fully provisioned instance satisfying the contract for
* {@code Provider}.
*/
@Override
public WebSocketClient get() {
WebSocketClient result = new WebSocketClient(api.get(), factory.get());
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy