Use to connect to a remote peer.
The INDAdapter::CreateConnector method returns this interface.
The INDConnector interface inherits from INDOverlapped. INDConnector also defines the following types of members:
The INDConnector interface defines the following methods.
Creates an endpoint to use for data transfers.
Connects the endpoint to a listening peer.
Completes the connection request initiated by a previous call to the Connect method.
Accepts a pending connection request and assigns an endpoint to use in the data exchange.
Rejects a pending connection request.
Retrieves the private data that the peer sends when it accepts or rejects the connection request.
Retrieves the address of the local Network Direct adapter.
Retrieves the address of the peer's Network Direct adapter.
Notifies the caller that an established connection was disconnected.
Disconnects the endpoint from the peer.
The connecting peer uses the endpoint that it passes to Connect to specify the inbound and outbound read limits that it wants to use. The remote peer gets the connecting peer's limits by calling the GetConnectionData method, and uses them (or optionally reduces them) to create its endpoint. When the remote peer calls Accept, Accept transfers the (potentially updated) limits back to the connecting peer. The connecting peer retrieves the limits by calling the GetConnectionData method. The connecting peer can accept the limits and call the CompleteConnect method to complete the connection or call the Reject method to reject the connection. When the connecting peer calls CompleteConnect, the limit values in its endpoint are updated with the new limits.
This interface inherits the CancelOverlappedRequestsmethod from the INDOverlapped interface. When you call CancelOverlappedRequests for the INDConnector interface, the method cancels all outstanding operations that were initiated on the INDConnector object and that took an OVERLAPPED structure as input. These operations include the following methods for the INDConnector interface:
|Microsoft Message Passing Interface (MS-MPI)|
Build date: 7/2/2010