Class APIManager

java.lang.Object
com.smartfoxserver.api.APIManager
All Implemented Interfaces:
com.smartfoxserver.bitswarm.service.IService

public class APIManager extends Object implements com.smartfoxserver.bitswarm.service.IService
Provides access to the standard server API and the specialized API such as BuddyAPI, GameApi, MMOApi
  • Constructor Details

    • APIManager

      public APIManager()
  • Method Details

    • init

      public void init(Object o)
      Specified by:
      init in interface com.smartfoxserver.bitswarm.service.IService
    • getSFSApi

      public ISFSApi getSFSApi()
      The standard SFS API for Extensions
    • getBuddyApi

      public ISFSBuddyApi getBuddyApi()
      The Buddy API to manage buddies and buddy lists
    • getGameApi

      public ISFSGameApi getGameApi()
      The advanced game API for match-making, invitations etc...
    • getMMOApi

      public ISFSMMOApi getMMOApi()
      API to create and manage MMORooms
    • destroy

      public void destroy(Object arg0)
      Specified by:
      destroy in interface com.smartfoxserver.bitswarm.service.IService
    • getName

      public String getName()
      Specified by:
      getName in interface com.smartfoxserver.bitswarm.service.IService
    • handleMessage

      public void handleMessage(Object msg)
      Specified by:
      handleMessage in interface com.smartfoxserver.bitswarm.service.IService
    • setName

      public void setName(String arg0)
      Specified by:
      setName in interface com.smartfoxserver.bitswarm.service.IService