Property | Type | Description | |
---|---|---|---|
_edge_to_ecw | EdgeCreationWrapper>.Dictionary | ||
_edge_to_wrapper_edge | WrapperEdge>.Dictionary | ||
_el | EdgeListener | ||
_sync | object |
Method | Description | |
---|---|---|
AddEdge ( EdgeCreationWrapper ecw ) : void |
A new underlying edge has been created, this is used to add the edge to the EdgeListener for handling and to wrap the edge.
|
|
CreateEdgeTo ( TransportAddress ta, EdgeCreationCallback ecb ) : void |
This wraps the underlying CreateEdgeTo using EdgeCreationWrappers
|
|
Start ( ) : void |
This is passed to the underlying EdgeListener. By default we do nothing to this.
|
|
Stop ( ) : void |
This is passed to the underlying EdgeListener. By default we do nothing to this.
|
|
UpdateLocalTAs ( Edge e, TransportAddress ta ) : void |
This is passed tothe underlying EdgeListener. By default we do nothing to this.
|
|
UpdateRemoteTAs ( IList list, Edge e, TransportAddress ta ) : void |
This is passed tothe underlying EdgeListener. By default we do nothing to this.
|
|
WrapperEdgeListener ( EdgeListener el ) : Brunet |
Method | Description | |
---|---|---|
EdgeClose ( object o, |
This is called when one of our edges closes. This handles removing the state from the EdgeListener as necessary.
|
|
Finalize ( WrapperEdge wedge ) : void |
When the edge is finally wrapped, this is called to finalize the adding of the edge to the edgelistner.
|
|
HandleEdgeCloseRequestEvent ( object el, |
This handles the RequestClose of the underlying edge. The convoluted model for handling edge closes is this... I) UEL calls RequestClose 1) Triggers HandleEdgeCloseRequestEvent 2) If there is a wrapper edge, call RequestClose on it 3) If there isn't a wrapper edge, we are forced to simply close the edge and send a failed ecw II) A wrapper edge is responsible for calling edge close on the wrapped edge on edge close III) if an wrapped edge calls close, we are notified via an event, that will send a failed ecw or close the wrapper edge |
|
HandleEdgeEvent ( object edge, |
A new edge has been created! This comes from the underlying EL's SendEdgeEvent.
|
|
SendEdgeEventHelper ( bool success, Edge e, |
This is a EdgeCallback used when to handle the cases for inbound edes. This executes SendEdgeEvent for this WEL.
|
|
WrapEdge ( Edge edge ) : void |
This method is usd to wrap the edge.
|
public AddEdge ( EdgeCreationWrapper ecw ) : void | ||
ecw | EdgeCreationWrapper | |
return | void |
public CreateEdgeTo ( TransportAddress ta, EdgeCreationCallback ecb ) : void | ||
ta | TransportAddress | |
ecb | EdgeCreationCallback | |
return | void |
protected EdgeClose ( object o, |
||
o | object | |
ea | ||
return | void |
protected Finalize ( WrapperEdge wedge ) : void | ||
wedge | WrapperEdge | |
return | void |
protected HandleEdgeCloseRequestEvent ( object el, |
||
el | object | |
ea | ||
return | void |
protected HandleEdgeEvent ( object edge, |
||
edge | object | |
ea | ||
return | void |
protected SendEdgeEventHelper ( bool success, Edge e, |
||
success | bool | |
e | Edge | |
x | ||
return | void |
public UpdateLocalTAs ( Edge e, TransportAddress ta ) : void | ||
e | Edge | |
ta | TransportAddress | |
return | void |
public UpdateRemoteTAs ( IList list, Edge e, TransportAddress ta ) : void | ||
list | IList | |
e | Edge | |
ta | TransportAddress | |
return | void |
public WrapperEdgeListener ( EdgeListener el ) : Brunet | ||
el | EdgeListener | |
return | Brunet |
protected Dictionary |
||
return | EdgeCreationWrapper>.Dictionary |
protected Dictionary |
||
return | WrapperEdge>.Dictionary |