|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.mn.communicator.AbstractStatus
pl.mn.communicator.RemoteStatus
public class RemoteStatus
The default implementation of IRemoteStatus
Created on 2004-12-21
| Constructor Summary | |
|---|---|
RemoteStatus(StatusType statusType)
|
|
RemoteStatus(StatusType statusType,
java.lang.String description)
|
|
RemoteStatus(StatusType statusType,
java.lang.String description,
java.util.Date returnDate)
|
|
| 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. |
void |
setAreWeInRemoteUserBuddyList(boolean areWeInRemoteUserBuddyList)
|
void |
setBlocked(boolean blocked)
|
void |
setDescriptionSize(int descriptionSize)
|
void |
setGGVersion(int version)
|
void |
setImageSize(int imageSize)
|
void |
setRemoteIP(byte[] remoteIP)
|
void |
setRemotePort(int remotePort)
|
void |
setSupportsDirectCommunication(boolean supportsDirectCommunication)
|
void |
setSupportsVoiceCommunication(boolean supportsVoiceCommunication)
|
void |
setUserBehindFirewall(boolean userBehingFirewall)
|
boolean |
supportsDirectCommunication()
Flag indicating whether the user supports direct communication. |
boolean |
supportsVoiceCommunication()
Flag indicating whether or not user supports voice communication. |
| Methods inherited from class pl.mn.communicator.AbstractStatus |
|---|
getDescription, getReturnDate, getStatusType, isDescriptionSet, isReturnDateSet, setDescription, setReturnDate, setStatusType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface pl.mn.communicator.IStatus |
|---|
getDescription, getReturnDate, getStatusType, isDescriptionSet, isReturnDateSet, setDescription, setReturnDate, setStatusType |
| Constructor Detail |
|---|
public RemoteStatus(StatusType statusType)
public RemoteStatus(StatusType statusType,
java.lang.String description)
public RemoteStatus(StatusType statusType,
java.lang.String description,
java.util.Date returnDate)
| Method Detail |
|---|
public void setBlocked(boolean blocked)
public boolean isBlocked()
IRemoteStatus
isBlocked in interface IRemoteStatusIRemoteStatus.isBlocked()public byte[] getRemoteIP()
IRemoteStatus
getRemoteIP in interface IRemoteStatusIRemoteStatus.getRemoteIP()public void setRemoteIP(byte[] remoteIP)
public int getRemotePort()
IRemoteStatus
getRemotePort in interface IRemoteStatusIRemoteStatus.getRemotePort()public void setRemotePort(int remotePort)
public int getGGVersion()
IRemoteStatus
getGGVersion in interface IRemoteStatusIRemoteStatus.getGGVersion()public void setGGVersion(int version)
public int getImageSize()
IRemoteStatus
getImageSize in interface IRemoteStatusIRemoteStatus.getImageSize()public void setImageSize(int imageSize)
public boolean supportsVoiceCommunication()
IRemoteStatus
supportsVoiceCommunication in interface IRemoteStatuspublic void setSupportsVoiceCommunication(boolean supportsVoiceCommunication)
public boolean supportsDirectCommunication()
IRemoteStatus
supportsDirectCommunication in interface IRemoteStatusIRemoteStatus.supportsDirectCommunication()public void setSupportsDirectCommunication(boolean supportsDirectCommunication)
public boolean areWeInRemoteUserBuddyList()
IRemoteStatus
areWeInRemoteUserBuddyList in interface IRemoteStatusIRemoteStatus.areWeInRemoteUserBuddyList()public void setAreWeInRemoteUserBuddyList(boolean areWeInRemoteUserBuddyList)
public int getDescriptionSize()
IRemoteStatus
getDescriptionSize in interface IRemoteStatusIStatus.getDescription()public void setDescriptionSize(int descriptionSize)
public boolean isUserBehindFirewall()
IRemoteStatus
isUserBehindFirewall in interface IRemoteStatusIRemoteStatus.isUserBehindFirewall()public void setUserBehindFirewall(boolean userBehingFirewall)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||