This is experimental documentation.
This is a client used for communicating with a bnls server.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class BnlsClient : SocketClient
Public Class BnlsClient _ Inherits SocketClient
public ref class BnlsClient : public SocketClient
Members
All Members | Constructors | Methods | Properties | Events | |
Icon | Member | Description |
---|---|---|
BnlsClient()()()() | ||
BNLS_CDKEY(BnlsReader) | ||
BNLS_CDKEY(Int32, String) | ||
BNLS_REQUESTVERSIONBYTE(BnlsReader) | ||
BNLS_REQUESTVERSIONBYTE(Int32) | ||
Close()()()() |
Closes the socket connection.
(Inherited from SocketClient.) | |
Connect(String, Int32) |
Connects the socket client.
(Inherited from SocketClient.) | |
Connect(String, Int32, String) |
Connects the new socket and binds it to the specified local ip.
(Inherited from SocketClient.) | |
Connect(String, Int32, String, AsyncCallback) | (Inherited from SocketClient.) | |
Connect(String, Int32, ProxyType, String, Int32) | (Inherited from SocketClient.) | |
Connected |
This event is called when the socket connects.
(Inherited from SocketClient.) | |
DataReceived |
This event is called when the socket is finished validating the received data.
(Inherited from SocketClient.) | |
Disconnect()()()() |
Disconnects the socket client.
(Inherited from SocketClient.) | |
Disconnected |
This event is called when a socket disconnects
(Inherited from SocketClient.) | |
Dispose()()()() | (Inherited from SocketClient.) | |
Equals(Object) | (Inherited from Object.) | |
Error |
This event is fired when there is any error exception that occurs in SocketClient
(Inherited from SocketClient.) | |
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.) | |
GetBytesReceived(IAsyncResult) |
Gets the bytes received from a socket, is used in method SocketDataArrival.
(Inherited from SocketClient.) | |
GetDataLength()()()() |
This can be overridden to allow for different protocols. Gets the length of a data packet. (Default is BNLS)
(Inherited from SocketClient.) | |
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.) | |
IsConnected | (Inherited from SocketClient.) | |
IsMinimumData()()()() |
This can be overridden to allow for different protocols. Ensures the packet has the minimum amount of data in m_TempBuffer before any handling occurs. (Default is BNLS)
(Inherited from SocketClient.) | |
LengthStart |
Where the length of the packet is located in the packet (zero based array).
(Inherited from SocketClient.) | |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnConnected()()()() | (Inherited from SocketClient.) | |
OnDataReceived(array<Byte>[]()[][]) | (Inherited from SocketClient.) | |
OnDisconnected()()()() | (Inherited from SocketClient.) | |
OnException(Exception) | (Inherited from SocketClient.) | |
OnProxyConnected()()()() | (Inherited from SocketClient.) | |
OnProxyDisconnected(ProxyDisconnectedEventArgs) | (Inherited from SocketClient.) | |
OnReceivedCDKey(ReceivedCDKeyEventArgs) | ||
OnReceivedVersionByte(ReceivedVersionByteEventArgs) | ||
OnSocketException(SocketException) | (Inherited from SocketClient.) | |
OnSocketInformation(String) | (Inherited from SocketClient.) | |
OnSocketInformation(String, array<Object>[]()[][]) | (Inherited from SocketClient.) | |
OnTimerElasped()()()() | (Inherited from SocketClient.) | |
ProcessConnected()()()() | (Overrides SocketClient.ProcessConnected()()()().) | |
ProcessDataRecieved(array<Byte>[]()[][]) | (Overrides SocketClient.ProcessDataRecieved(array<Byte>[]()[][]).) | |
ProcessDisconnected()()()() |
Override this method to handle the disconnected event.
(Inherited from SocketClient.) | |
ProcessProxyConnected()()()() | (Inherited from SocketClient.) | |
ProcessProxyDisconnected(ProxyDisconnectedEventArgs) | (Inherited from SocketClient.) | |
ProcessTimerElasped()()()() | (Inherited from SocketClient.) | |
ProxyConnected |
This event is called when the proxy accepts out request for access.
(Inherited from SocketClient.) | |
ProxyDisconnected |
This event is called when a proxy connection fails or denies the request.
(Inherited from SocketClient.) | |
ReceivedCDKey | ||
ReceivedVersionByte | ||
Send(array<Byte>[]()[][]) | (Inherited from SocketClient.) | |
SendBnlsPacket(BnlsPacket) | ||
Socket |
The socket for this socket client instance.
(Inherited from SocketClient.) | |
SocketConnected(IAsyncResult) |
Do not override this method unless you have advanced knowledge of sockets.
(Inherited from SocketClient.) | |
SocketDataArrival(IAsyncResult) |
Do not override this method unless you have advanced knowledge of sockets.
(Inherited from SocketClient.) | |
SocketError |
This event is fired when there is a socket exception.
(Inherited from SocketClient.) | |
SocketIdentifer | (Inherited from SocketClient.) | |
SocketInformation |
This event is fired when information regarding the socket is available.
(Inherited from SocketClient.) | |
SocketProxyConnected(IAsyncResult) | (Inherited from SocketClient.) | |
SocketProxyDataArrival(IAsyncResult) | (Inherited from SocketClient.) | |
Timer | (Inherited from SocketClient.) | |
TimerElasped |
The timer by default will fire every five seconds you can change this.
(Inherited from SocketClient.) | |
ToString()()()() | (Inherited from Object.) | |
WaitForData(AsyncCallback) |
Do not override this method unless you have advanced knowledge of sockets.
(Inherited from SocketClient.) |
Inheritance Hierarchy
Object | ||
SocketClient | ||
BnlsClient |
Assembly: Asgard5Library (Module: Asgard5Library)