wsky / top-link

embedded duplex multi-channel endpoint and connection management for c#/java/...
6 stars 1 forks source link

EndpointProxy's senders should be managed #26

Closed wsky closed 10 years ago

wsky commented 11 years ago
public class EndpointProxy {
    private Identity identity;
    // known by both side
    private String token;
    private List<ChannelSender> senders;

    public boolean canSend() {
        return this.senders.size() > 0;
    }

sender.isConnected, and removed while broken

wsky commented 11 years ago

when to remove? write a worker?