Aztec® Programming Language
Version 1.1 Alpha 2

Copyright © 2010-2017, Aztec Development Group, All Rights Reserved

Download Aztec

Search        Contact Us

I've looked around enough to know...

That you're the one I want to go... through time with.

- Jim Croce

 

aztec.io.SocketReceiveEvent

public class SocketReceiveEvent from<SocketEvent>

Base

Event

SocketEvent

SocketReceiveEvent

The SocketReceiveEvent class provides an event class for handling receive events for the socket. This event occurs when the remote application sends a message to this socket (if coming from Aztec code, a ClientSocket.Write() method call). The ClientSocket class supports this event.

 

The event handler will typically retrieve the message using one or more ClientSocket.Stream().Read() calls (or a related filter stream method) and process it accordingly. The 'Socket()' method within the 'SocketEvent' base class provides access to the 'ClientSocket' object.

SocketReceiveEvent Methods

SocketReceiveEvent() Constructor for the SocketReceiveEvent class
ClientSocket() Returns a reference to the client socket object processing the event

Derived Classes

See Also

  


SocketReceiveEvent()

public method SocketReceiveEvent(ClientSocket AssociatedSocket)

Parameters

AssociatedSocket

The client socket receiving the message which caused the event

Return Value

None

Description

Constructor for the SocketReceiveEvent class.

 

SocketReceiveEvent Class


ClientSocket()

public method<ClientSocket> ClientSocket()

Parameters

None

Return Value

Reference to client socket associated with the event

Description

This method returns the client socket reference associated with the socket receive event.

 

SocketReceiveEvent Class

 

Copyright © 2010-2017

Aztec Development Group

All Rights Reserved

Download Aztec