ibis.ipl
Interface SendPortConnectUpcall


public interface SendPortConnectUpcall

Connection upcall interface for sendports. An Ibis implementation may choose to block while processing this upcall.


Method Summary
 void lostConnection(SendPort me, ReceivePortIdentifier johnDoe, java.lang.Exception reason)
          Upcall that indicates that a connection to a receiveport was lost.
 

Method Detail

lostConnection

public void lostConnection(SendPort me,
                           ReceivePortIdentifier johnDoe,
                           java.lang.Exception reason)
Upcall that indicates that a connection to a receiveport was lost. If a SendPort has been configured with connection upcalls, an upcall is generated for each connection that is lost. This may be because the receiver just closed the connection, or it may be because there is some problem with the connection itself.

This upcall may run completely asynchronously, but only at most one is alive at any time.

Parameters:
me - the SendPort losing a connection.
johnDoe - identifier for the ReceivePort to which the connection is lost.
reason - the reason for this upcall.


The Ibis project