public abstract class RtmpClient extends Object
| Modifier and Type | Field and Description |
|---|---|
AccountService |
accountService
Answers account related queries.
|
BookService |
bookService
Control runes and mastery pages.
|
ClientFacadeService |
clientFacadeService
Contains the kudos system and login packet.
|
static int |
DEFAULT_MSG_STREAM |
GameService |
gameService
Manage champion select and custom games.
|
InventoryService |
inventoryService
Control owned champions and summoner spells.
|
static int |
INVOKE_STREAM |
LcdsChampionTradeService |
lcdsChampionTradeService
Trade champions in ranked and aram.
|
LcdsGameInvitationService |
lcdsGameInvitationService
Manage premade teams and game invitations.
|
LcdsRerollService |
lcdsRerollService
Reroll champions in ARAM.
|
LcdsServiceProxy |
lcdsServiceProxy
Manage a group finder lobby.
|
LeaguesServiceProxy |
leaguesServiceProxy
Query league related information.
|
LoginService |
loginService
Services user authentication as well as the lcds heartbeat.
|
MatchmakerService |
matchmakerService
Attach a player or a group of players to a matchmaking queue.
|
PlayerPreferencesService |
playerPreferencesService
Set account-related preferences.
|
PlayerStatsService |
playerStatsService
Retrieve stats for a player.
|
static int |
RTMP_VERSION |
SummonerIconService |
summonerIconService
Control summoner icons.
|
SummonerRuneService |
summonerRuneService
Control owned runes.
|
SummonerService |
summonerService
Control user accounts.
|
SummonerTeamService |
summonerTeamService
Manage ranked teams.
|
| Constructor and Description |
|---|
RtmpClient(String host,
int port,
boolean useSSL) |
public static final int RTMP_VERSION
public static final int INVOKE_STREAM
public static final int DEFAULT_MSG_STREAM
public final LoginService loginService
public final AccountService accountService
public final ClientFacadeService clientFacadeService
public final MatchmakerService matchmakerService
public final PlayerPreferencesService playerPreferencesService
public final InventoryService inventoryService
public final SummonerRuneService summonerRuneService
public final BookService bookService
public final LeaguesServiceProxy leaguesServiceProxy
public final SummonerTeamService summonerTeamService
public final SummonerService summonerService
public final PlayerStatsService playerStatsService
public final LcdsRerollService lcdsRerollService
public final GameService gameService
public final SummonerIconService summonerIconService
public final LcdsChampionTradeService lcdsChampionTradeService
public final LcdsServiceProxy lcdsServiceProxy
public final LcdsGameInvitationService lcdsGameInvitationService
public RtmpClient(String host, int port, boolean useSSL)
public abstract void onReadException(Exception ex)
public abstract void onAsyncWriteException(IOException ex)
public abstract void extendedOnPacket(RtmpEvent packet)
protected void onError(Exception ex)
public int getTimeDelta()
public InvokeCallback getInvokeCallback(int invokeId)
public Object waitForInvokeReply(int id) throws InterruptedException
InterruptedExceptionpublic void onPacket(RtmpEvent packet)
public void addAsyncChannelListener(java.util.function.Consumer<AsyncMessageEvent> consumer, java.util.function.Predicate<AsyncMessageEvent> filter)
public void addAsyncChannelListener(java.util.function.Consumer<AsyncMessageEvent> consumer)
public void addAsyncChannelListener(java.util.function.Consumer<AsyncMessageEvent> consumer, String channel)
public void addAsyncChannelListener(java.util.function.Consumer<AsyncMessageEvent> consumer, String channel, java.util.function.Predicate<AsyncMessageEvent> filter)
public void removeAsyncChannelListener(java.util.function.Consumer<AsyncMessageEvent> consumer)
public void connect()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void disconnect()
public void authenticate(String user, String password, String authKey, String clientVersion)
public Session authenticate(String user, String password, String authKey, String clientVersion, String locale)
public int getNextInvokeId()
public int subscribe(String endpoint, String destination, String subtopic, String clientId)
public int unsubscribe(String endpoint, String destination, String subtopic, String clientId)
public int logout()
public int ping()
public void setChunkSize(int size)
public void writeProtocolControlMessage(RtmpEvent evt)
Copyright © 2014. All rights reserved.