Najwazniejsza klasa z punktu widzenia uzytkownika, to za pomoca niej laczymy sie z serverem gg, logujemy sie
oraz wysylamy wiadomosci
| C# | Visual Basic | Visual C++ |
public class Gadu
Public Class Gadu
public ref class Gadu
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| Gadu()()() |
Tworzy gniazdo oraz ustawia domyslny timeOut, tworzy klasy GaduReciever,GaduSender,GaduPinger
| |
| changeStatus(Int32, String) |
Zmiana status, statusid nalezy podac z GaduPacketConstans.GG_STATUS_*
| |
| Connect(GaduServer) |
Laczy sie z danym serverem gadu-gadu
| |
| Disconnect()()() |
Konczymy polaczenie z gadu-gadu
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GaduCriticalError()()() |
Statyczna metoda, ktora wywoluje event OnGaduCriticalError, nie wywolywac samemu, prawo do wywolania
maja tylko GaduSender, GaduReciever lub GaduPinger
| |
| GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| Host |
Adres ip servera gadu-gadu
| |
| Login(Int32, String) |
Logujemy sie do gg
| |
| Logout()()() |
Wylogowanie z gg
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Notifier |
Zwraca referencje do klasy GaduNotifier, dzieki niej mozemy wyslac liste
do server gg i dowiedziec sie kto ma jaki status
| |
| OnGaduCriticalError |
Event, ktory jest wywolywany podczas wszelkich nieprzewidzianych bledow podczas
odczytu/zapisu na/z gniazda.
| |
| Pinger |
Zwraca referencje do klasy GaduPinger, dzieki niej mozemy dopisac obsluge eventow,
ustawic parametry klasy
| |
| Port |
Port servera gadu-gadu
| |
| PubDir |
Klasa dostarczajaca mechanizmow dzialania na katalogu publicznym
| |
| Reciever |
Zwraca referencje do klasy GaduReciever, dzieki niej mozemy dopisac obsluge eventow,
ustawic parametry klasy
| |
| Sender |
Zwraca referencje do klasy GaduSender, dzieki niej mozemy dopisac obsluge eventow,
ustawic parametry klasy
| |
| sendMessage(Int32, String) |
Wysyla wiadomosc pod dany numer gg
| |
| TimeOut |
Czas po ktorym uznajemy ze dany server gadu-gadu nie odpowiada, jest martwy.
| |
| ToString()()() | (Inherited from Object.) | |
| UserList |
Klasa odpowiedzialna za zarzadzanie lista kontaktow
|
| Object | |
| Gadu | |