Cronous Emulation Server Daemon

ClientConnection Members

ClientConnection overview

Public Instance Constructors

ClientConnection Constructor Initializes the client connection.

Public Instance Properties

data_available (inherited from TCPSocket) Gets the amount of data available for reading.
end_point (inherited from TCPSocket) End point of connection target.
received_packets A queue of received packets.
remote_ip Remote IP address.
sent_packets A queue of sent packets.
socket (inherited from TCPSocketHandler) Socket object associated to the handler.
state (inherited from TCPSocket) Socket state.

Public Instance Methods

check (inherited from TCPSocketHandler) Checks for socket validity.
close (inherited from TCPSocket) Closes connection.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
fill_packet Fills a packet with the incoming data.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
on_available Event notifying data availability.
on_disconnect Event notifying disconnection.
open (inherited from TCPSocket) Opens connection to end_point.
peek_next_id Peeks the next packet id.
post_open (inherited from TCPSocketHandler) Adds the socket to the event manager.
pre_close (inherited from TCPSocketHandler) Removes the socket from the event manager.
process_error Event notifying error.
process_read (inherited from TCPSocket) Processes reading.
process_write (inherited from TCPSocket) Processes writing.
push_packet Pushes a packet for sending.
receive (inherited from TCPSocket)Overloaded. Receives a piece of data.
send (inherited from TCPSocket)Overloaded. Pushes data to be sent.
ToString (inherited from Object) Returns a String that represents the current Object.
wants_reading_notification (inherited from TCPSocket) Check whether the socket wants to process reading.
wants_writing_notification (inherited from TCPSocket) Check whether the socket wants to process writing.

Protected Instance Fields

_can_send (inherited from TCPSocket) Specifies whether the socket is ready to send data.
_current_packet The current incoming packet.
_end_point (inherited from TCPSocket) End point of connection target.
_game_server Game server.
_receive_buf (inherited from TCPSocket) Buffer for data reception.
_received_packets A queue of received packets.
_remote_ip Remote IP address.
_send_buf (inherited from TCPSocket) Buffer for data transmission.
_sent_packets A queue of sent packets.
_socket (inherited from TCPSocketHandler) Socket object associated to the handler.
_state (inherited from TCPSocket) Socket state.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
send_now (inherited from TCPSocket) Sends data immediately.

See Also

ClientConnection Class | croemud.connection Namespace