CORBA 2.6.1 Programmer's Reference

class Fw_Transfer_EH
{ ... }
class Fw_Client_EH_User
{ ... }
class Fw_Client_EH
{ ... }
class Fw_Server_EH_User
{ ... }
class Fw_Server_EH
{ ... }
class Fw_Listener_EH_User
{ ... }
class Fw_Listener_EH
{ ... }
Class Fw_Transfer_EH_User
The base class for client and server event handler (EH) users. This method is not specific to TCP/IP (i.e.,
applicable to all transports)
API Methods
If it includes an event handler user implementation, your application must implement all of the following
methods that it uses, except those method implementations (if any) that it inherits from the
NSDEFw_GFS class.
Fw_Transfer_EH_User()
Creates an Fw_Transfer_EH_User object.
~Fw_Transfer_EH_User()
Destructor for the current Fw_Transfer_EH_User object.
bool data_in( Fw_MD *pp_MD )
Delivers a Message Data (MD) object containing the next segment of data received on the transfer
(client or server) event handler's connection. A transfer event-handler user should expect to
assemble a message from one or more of these segments.
If the underlying mechanism is segment-oriented (for example, the Guardian file system or
TS/MP), the last data of one message will not share an MD with the first data of the next message.
For streaming protocols (for example, TCP/IP), if the header_in mechanism is used properly,
the transfer event handler will deliver the last data of one message and the first data of the next
message in separate MDs.
The result of this method should indicate whether the data received should cause the transfer event
handler to terminate its connection (true to retain the connection, or false to terminate the
connection).
void disconnected()