|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.zion.jbuddy.IClientFactory
public final class IClientFactory
Creates new IClient instances.
This class contains a single factory method. It cannot be instantiated.
| Method Summary | |
|---|---|
static boolean |
checkLicense()
Performs a license check. |
static IClient |
factory(IGateway gateway,
int protocol,
String username,
String password)
Creates an IClient instance using the specified arguments. |
static com.zion.messaging.MsgClient |
jscFactory(IGateway gw,
com.zion.messaging.AccountBean accountBean)
|
static void |
showLicenseInfo()
Displays the current license information. |
static boolean |
useLicense(int protocol,
String orgName,
String licenseKey)
Use the licenseKey for the specified protocol for this session only (not persisted). |
static boolean |
writeLicense(int protocol,
String orgName,
String licenseKey)
Writes the licenseKey for the specified protocol and organization to disk. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean checkLicense()
public static void showLicenseInfo()
public static boolean useLicense(int protocol,
String orgName,
String licenseKey)
protocol - the IM protocol for which this license applies, if applicable.orgName - the name of the company, organization or entity which holds this licenseKeylicenseKey - the license string to apply.
public static boolean writeLicense(int protocol,
String orgName,
String licenseKey)
protocol - the IM protocol for which this license applies, if applicable.orgName - the name of the company, organization or entity which holds this licenseKeylicenseKey - the license string to apply.
public static IClient factory(IGateway gateway,
int protocol,
String username,
String password)
gateway - the specified gateway to receive incoming messages and
events from the client via callback methodsprotocol - the protocol type, indicating which IM service the
client will communicate withusername - the client's login namepassword - the client's password
public static com.zion.messaging.MsgClient jscFactory(IGateway gw,
com.zion.messaging.AccountBean accountBean)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||