Package com.github.theholywaffle.teamspeak3.api.wrapper

Examples of com.github.theholywaffle.teamspeak3.api.wrapper.Binding


public class CMessageUpdateFlag extends Command {

  public CMessageUpdateFlag(int messageId, boolean read) {
    super("messageupdateflag");
    add(new KeyValueParam("msgid", messageId));
    add(new KeyValueParam("flag", read ? "1" : "0"));
  }
View Full Code Here


public class CChannelClientPermList extends Command {

  public CChannelClientPermList(int channelId, int clientDBId) {
    super("channelclientpermlist");
    add(new KeyValueParam("cid",channelId));
    add(new KeyValueParam("cldbid",clientDBId));
    add(new OptionParam("permsid"));
  }
View Full Code Here

  public CClientDBList(int begin, int amount, boolean count) {
    super("clientdblist");
    add(new KeyValueParam("start", begin+""));
    add(new KeyValueParam("duration", amount+""));
    if(count){
      add(new OptionParam("count"));
    }
   
  }
View Full Code Here

  public CClientDBFind(String pattern, boolean uid) {
    super("clientdbfind");
    add(new KeyValueParam("pattern", pattern));
    if (uid) {
      add(new OptionParam("uid"));
    }
  }
View Full Code Here

public class CServerGroupPermList extends Command {

  public CServerGroupPermList(int id) {
    super("servergrouppermlist");
    add(new KeyValueParam("sgid", id));
    add(new OptionParam("permsid"));
  }
View Full Code Here

public class CClientPermList extends Command{

  public CClientPermList(int clientDBId) {
    super("clientpermlist");
    add(new KeyValueParam("cldbid",clientDBId+""));
    add(new OptionParam("permsid"));
  }
View Full Code Here

public class CClientList extends Command{

  public CClientList() {
    super("clientlist");
    add(new OptionParam("uid"));
    add(new OptionParam("away"));
    add(new OptionParam("voice"));
    add(new OptionParam("times"));
    add(new OptionParam("groups"));
    add(new OptionParam("info"));
    add(new OptionParam("icon"));
    add(new OptionParam("country"));
  }
View Full Code Here

  public CChannelClientPermList(int channelId, int clientDBId) {
    super("channelclientpermlist");
    add(new KeyValueParam("cid",channelId));
    add(new KeyValueParam("cldbid",clientDBId));
    add(new OptionParam("permsid"));
  }
View Full Code Here

public class CServerSnapshotDeploy extends Command {

  public CServerSnapshotDeploy(String snapshot) {
    super("serversnapshotdeploy");
    add(new RawParam(snapshot));
  }
View Full Code Here

  public void fireEvent(String notifyName, String notifyBody) {
    TS3EventEmitter emitter = map.get(notifyName);
    if (emitter != null) {
      for (TS3Listener l : listeners) {
        emitter.fire(l, new DefaultArrayResponse(notifyBody).getArray()
            .get(0));
      }
    } else {
      throw new TS3UnknownEventException(notifyName + " " + notifyBody);
    }
View Full Code Here

TOP

Related Classes of com.github.theholywaffle.teamspeak3.api.wrapper.Binding

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.