mirror of https://github.com/sipwise/jitsi.git
parent
2e4454e138
commit
468d3555c7
@ -0,0 +1,229 @@
|
||||
package net.java.sip.communicator.impl.protocol.icq;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import net.java.sip.communicator.service.protocol.*;
|
||||
import net.java.sip.communicator.service.protocol.event.*;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @author Emil Ivov
|
||||
*/
|
||||
public class IcqProtocolProviderServiceImpl
|
||||
implements ProtocolProviderService
|
||||
{
|
||||
/**
|
||||
* Registers the specified listener with this provider so that it would
|
||||
* receive notifications on changes of its state or other properties such
|
||||
* as its local address and display name.
|
||||
*
|
||||
* @param listener the listener to register.
|
||||
* @todo Implement this
|
||||
* net.java.sip.communicator.service.protocol.ProtocolProviderService
|
||||
* method
|
||||
*/
|
||||
public void addProviderChangeListener(ProviderChangeListener listener)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Requests the provider to enter into a status corresponding to the
|
||||
* specified paramters.
|
||||
*
|
||||
* @param status the PresenceStatus as returned by
|
||||
* getRequestableStatusSet
|
||||
* @param statusMessage the message that should be set as the reason to
|
||||
* enter that status
|
||||
* @throws IllegalArgumentException if the status requested is not a
|
||||
* valid PresenceStatus supported by this provider.
|
||||
* @todo Implement this
|
||||
* net.java.sip.communicator.service.protocol.ProtocolProviderService
|
||||
* method
|
||||
*/
|
||||
public void enterStatus(PresenceStatus status, String statusMessage) throws
|
||||
IllegalArgumentException
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the protocol specific contact instance representing the local
|
||||
* user.
|
||||
*
|
||||
* @return the Contact (address, phone number, or uin) that the Provider
|
||||
* implementation is communicating on behalf of.
|
||||
* @todo Implement this
|
||||
* net.java.sip.communicator.service.protocol.ProtocolProviderService
|
||||
* method
|
||||
*/
|
||||
public Contact getLocalContact()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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).
|
||||
*
|
||||
* @return a String containing the short name of the protocol this
|
||||
* service is taking care of.
|
||||
* @todo Implement this
|
||||
* net.java.sip.communicator.service.protocol.ProtocolProviderService
|
||||
* method
|
||||
*/
|
||||
public String getProtocolName()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* Many communications protocols have well known logos that users are
|
||||
* familiar with.
|
||||
*
|
||||
* @return byte[] a 32x32 protocol logo or representative image.
|
||||
* @todo Implement this
|
||||
* net.java.sip.communicator.service.protocol.ProtocolProviderService
|
||||
* method
|
||||
*/
|
||||
public byte[] getProviderImage()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a String containing a human readable string representation of
|
||||
* the provider.
|
||||
*
|
||||
* @return a String representation of this provider.
|
||||
* @todo Implement this
|
||||
* net.java.sip.communicator.service.protocol.ProtocolProviderService
|
||||
* method
|
||||
*/
|
||||
public String getProviderName()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a string representation of the registration service that is
|
||||
* used by this provider or null if none is used.
|
||||
*
|
||||
* @return a string representing (the address of) the service being used.
|
||||
* @todo Implement this
|
||||
* net.java.sip.communicator.service.protocol.ProtocolProviderService
|
||||
* method
|
||||
*/
|
||||
public String getRegistrationServer()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the set of PresenceStatus objects that a user of this service
|
||||
* may request the provider to enter.
|
||||
*
|
||||
* @return Iterator a PresenceStatus array containing "enterable" status
|
||||
* instances.
|
||||
* @todo Implement this
|
||||
* net.java.sip.communicator.service.protocol.ProtocolProviderService
|
||||
* method
|
||||
*/
|
||||
public Iterator getRequestableStatusSet()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a PresenceStatus instance representing the state this provider
|
||||
* is currently in.
|
||||
*
|
||||
* @return PresenceStatus
|
||||
* @todo Implement this
|
||||
* net.java.sip.communicator.service.protocol.ProtocolProviderService
|
||||
* method
|
||||
*/
|
||||
public PresenceStatus getStatus()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an array containing all operation sets supported by the
|
||||
* current implementation.
|
||||
*
|
||||
* @return an array of OperationSet-s supported by this protocol
|
||||
* provider implementation.
|
||||
* @todo Implement this
|
||||
* net.java.sip.communicator.service.protocol.ProtocolProviderService
|
||||
* method
|
||||
*/
|
||||
public OperationSet[] getSupportedOperationSets()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialized the service implementation, and puts it in a sate where it
|
||||
* could interoperate with other services.
|
||||
*
|
||||
* @todo Implement this
|
||||
* net.java.sip.communicator.service.protocol.ProtocolProviderService
|
||||
* method
|
||||
*/
|
||||
public void initialize()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the provider service implementation is initialized and
|
||||
* ready for use by other services, and false otherwise.
|
||||
*
|
||||
* @return boolean
|
||||
* @todo Implement this
|
||||
* net.java.sip.communicator.service.protocol.ProtocolProviderService
|
||||
* method
|
||||
*/
|
||||
public boolean isInitialized()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes the specified listener.
|
||||
*
|
||||
* @param listener the listener to remove.
|
||||
* @todo Implement this
|
||||
* net.java.sip.communicator.service.protocol.ProtocolProviderService
|
||||
* method
|
||||
*/
|
||||
public void removeProviderChangeListener(ProviderChangeListener listener)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows the user interface to plugin an object that would handle
|
||||
* incoming authentication challenges.
|
||||
*
|
||||
* @param authority SecurityAuthority
|
||||
* @todo Implement this
|
||||
* net.java.sip.communicator.service.protocol.ProtocolProviderService
|
||||
* method
|
||||
*/
|
||||
public void setSecurityAuthority(SecurityAuthority authority)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Makes the service implementation close all open sockets and release
|
||||
* any resources that it might have taken and prepare for
|
||||
* shutdown/garbage collection.
|
||||
*
|
||||
* @todo Implement this
|
||||
* net.java.sip.communicator.service.protocol.ProtocolProviderService
|
||||
* method
|
||||
*/
|
||||
public void shutdown()
|
||||
{
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue