pl.mn.communicator
Interface IRemoteStatus

All Superinterfaces:
IStatus
All Known Implementing Classes:
RemoteStatus

public interface IRemoteStatus
extends IStatus

Class that represents status of the user that we are monitoring.

Created on 2004-12-21

Version:
$Id: IRemoteStatus.java,v 1.1 2005/11/05 23:34:52 winnetou25 Exp $
Author:
Mateusz Szczap

Method Summary
 boolean areWeInRemoteUserBuddyList()
          Flag indicating whether or not we are in the remote user's buddy list.
 int getDescriptionSize()
          The size of the user's descrption.
 int getGGVersion()
          Gets Gadu-Gadu version of the client that the user uses.
 int getImageSize()
          Gets max image size that the user accepts.
 byte[] getRemoteIP()
          Gets remoteIP of the user.
 int getRemotePort()
          Gets remotePort of the user.
 boolean isBlocked()
          Flag indicating the Gadu-Gadu user blocked us.
 boolean isUserBehindFirewall()
          Flag indicating that remote user is behing firewall.
 boolean supportsDirectCommunication()
          Flag indicating whether the user supports direct communication.
 boolean supportsVoiceCommunication()
          Flag indicating whether or not user supports voice communication.
 
Methods inherited from interface pl.mn.communicator.IStatus
getDescription, getReturnDate, getStatusType, isDescriptionSet, isReturnDateSet, setDescription, setReturnDate, setStatusType
 

Method Detail

isBlocked

boolean isBlocked()
Flag indicating the Gadu-Gadu user blocked us.

Returns:
boolean indicating that user blocked us.

getRemoteIP

byte[] getRemoteIP()
Gets remoteIP of the user. It might return -1 if there is no information about remote ip of the user.

Returns:
the IP address of the user or -1 if there is no information.

getRemotePort

int getRemotePort()
Gets remotePort of the user. It might return -1 if there is not information about remote port of the user.

Returns:
the remote port of the user or -1 if there is no information.

getGGVersion

int getGGVersion()
Gets Gadu-Gadu version of the client that the user uses. It might return -1 if there is not information about client's version.

Returns:
the Gadu-Gadu client version or -1 if there is no information.

getImageSize

int getImageSize()
Gets max image size that the user accepts. It might return -1 if the user does not accept images at all.

Returns:
max image size that user accepts.

supportsVoiceCommunication

boolean supportsVoiceCommunication()
Flag indicating whether or not user supports voice communication.

Returns:
whether or not the user supports voice communication.

supportsDirectCommunication

boolean supportsDirectCommunication()
Flag indicating whether the user supports direct communication.

Returns:
whether or not the user support direct communication.

areWeInRemoteUserBuddyList

boolean areWeInRemoteUserBuddyList()
Flag indicating whether or not we are in the remote user's buddy list.

Returns:
whether or not we are in remote user's buddy list.

isUserBehindFirewall

boolean isUserBehindFirewall()
Flag indicating that remote user is behing firewall.

Returns:
whether or not the remote user is behind firewall.

getDescriptionSize

int getDescriptionSize()
The size of the user's descrption. it might return -1 if there is no information about the description or description is not set.

Returns:
the size of the user's description or -1 if there is no information.


Copyright 2004-2004-2005 SourceForge.net. All Rights Reserved.