org.telegram.mtproto.state.ConnectionInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of telegramapi Show documentation
Show all versions of telegramapi Show documentation
Java library to create Telegram Clients
package org.telegram.mtproto.state;
/**
* Created with IntelliJ IDEA.
* User: Ruben Bermudez
* Date: 07.11.13
* Time: 7:26
*/
public class ConnectionInfo {
private int id;
private int priority;
private String address;
private int port;
public ConnectionInfo(int id, int priority, String address, int port) {
this.id = id;
this.priority = priority;
this.address = address;
this.port = port;
}
public int getPriority() {
return this.priority;
}
public String getAddress() {
return this.address;
}
public int getPort() {
return this.port;
}
public int getId() {
return this.id;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy