public class UscConnectionManager extends Object
Modifier | Constructor and Description |
---|---|
protected |
UscConnectionManager(UscPlugin plugin) |
Modifier and Type | Method and Description |
---|---|
protected UscChannelImpl |
addConnection(UscDevice device,
io.netty.channel.Channel channel,
boolean isCallHome,
UscChannel.ChannelType type) |
UscChannelImpl |
getConnection(UscDevice device,
UscChannel.ChannelType type) |
int |
getConnectionCount() |
int |
getSessionCount() |
boolean |
removeConnection(UscChannelImpl connection) |
String |
toString() |
protected UscConnectionManager(UscPlugin plugin)
public UscChannelImpl getConnection(UscDevice device, UscChannel.ChannelType type) throws Exception
Exception
protected UscChannelImpl addConnection(UscDevice device, io.netty.channel.Channel channel, boolean isCallHome, UscChannel.ChannelType type)
public boolean removeConnection(UscChannelImpl connection)
public int getConnectionCount()
public int getSessionCount()
Copyright © 2019 OpenDaylight. All rights reserved.