|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.service.protocol.AbstractProtocolProviderService
net.java.sip.communicator.impl.protocol.dict.ProtocolProviderServiceDictImpl
public class ProtocolProviderServiceDictImpl
A Dict implementation of the ProtocolProviderService.
| Field Summary | |
|---|---|
static String |
DICT_PROTOCOL_NAME
The name of this protocol. |
| Fields inherited from interface net.java.sip.communicator.service.protocol.ProtocolProviderService |
|---|
BIND_RETRIES_DEFAULT_VALUE, BIND_RETRIES_PROPERTY_NAME |
| Constructor Summary | |
|---|---|
ProtocolProviderServiceDictImpl()
The default constructor for the Dict protocol provider. |
|
| Method Summary | |
|---|---|
AccountID |
getAccountID()
Returns the AccountID that uniquely identifies the account represented by this instance of the ProtocolProviderService. |
net.java.dict4j.DictConnection |
getConnection()
Returns the DictConnection opened by this provider |
ProtocolIcon |
getProtocolIcon()
Returns the dict protocol icon. |
String |
getProtocolName()
Returns the short name of the protocol that the implementation of this provider is based upon (like SIP, Jabber, ICQ/AIM, or others for example). |
RegistrationState |
getRegistrationState()
Returns the state of the registration of this protocol provider with the corresponding registration service. |
protected void |
initialize(String userID,
AccountID accountID)
Initializes the service implementation, and puts it in a sate where it could interoperate with other services. |
boolean |
isSignalingTransportSecure()
DICT has no support for secure transport. |
void |
register(SecurityAuthority authority)
Starts the registration process. |
void |
shutdown()
Makes the service implementation close all open sockets and release any resources that it might have taken and prepare for shutdown/garbage collection. |
void |
unregister()
Ends the registration of this protocol provider with the current registration service. |
| Methods inherited from class net.java.sip.communicator.service.protocol.AbstractProtocolProviderService |
|---|
addRegistrationStateChangeListener, addSupportedOperationSet, clearRegistrationStateChangeListener, fireRegistrationStateChanged, getOperationSet, getProtocolDisplayName, getSupportedOperationSets, isRegistered, removeRegistrationStateChangeListener, removeSupportedOperationSet, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.java.sip.communicator.service.protocol.ProtocolProviderService |
|---|
hashCode |
| Field Detail |
|---|
public static final String DICT_PROTOCOL_NAME
| Constructor Detail |
|---|
public ProtocolProviderServiceDictImpl()
| Method Detail |
|---|
protected void initialize(String userID,
AccountID accountID)
userID - the user id of the gibberish account we're currently
initializingaccountID - the identifier of the account that this protocol
provider represents.AccountIDpublic net.java.dict4j.DictConnection getConnection()
public AccountID getAccountID()
public String getProtocolName()
public ProtocolIcon getProtocolIcon()
public RegistrationState getRegistrationState()
public void register(SecurityAuthority authority)
throws OperationFailedException
authority - the security authority that will be used for
resolving any security challenges that may be returned during the
registration or at any moment while wer're registered.
OperationFailedException - with the corresponding code it the
registration fails for some reason (e.g. a networking error or an
implementation problem).public void shutdown()
public void unregister()
throws OperationFailedException
OperationFailedException - with the corresponding code it the
registration fails for some reason (e.g. a networking error or an
implementation problem).public boolean isSignalingTransportSecure()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||