public class ConnectedEvent extends Object
| Constructor and Description |
|---|
ConnectedEvent(SocketAddress local,
SocketAddress remote) |
ConnectedEvent(String redisUri,
String epId,
String channelId,
SocketAddress local,
SocketAddress remote) |
| Modifier and Type | Method and Description |
|---|---|
SocketAddress |
localAddress()
Returns the local address.
|
SocketAddress |
remoteAddress()
Returns the remote address.
|
String |
toString() |
public ConnectedEvent(String redisUri, String epId, String channelId, SocketAddress local, SocketAddress remote)
public ConnectedEvent(SocketAddress local, SocketAddress remote)
public SocketAddress localAddress()
localAddress in interface ConnectionIdpublic SocketAddress remoteAddress()
remoteAddress in interface ConnectionIdCopyright © 2021 lettuce.io. All rights reserved.