-
public final class TetheringEvent.AcceptedEvent extends TetheringEvent
Informs that port was successfully bound and got a specified connection id.
-
-
Field Summary
Fields Modifier and Type Field Description private final Integerportprivate final StringconnectionId
-
Constructor Summary
Constructors Constructor Description AcceptedEvent(Integer port, String connectionId)
-
Method Summary
Modifier and Type Method Description final Integercomponent1()final Stringcomponent2()final TetheringEvent.AcceptedEventcopy(Integer port, String connectionId)final IntegergetPort()Port number that was successfully bound. final StringgetConnectionId()Connection id to be used. -
-
Method Detail
-
component1
final Integer component1()
-
component2
final String component2()
-
copy
final TetheringEvent.AcceptedEvent copy(Integer port, String connectionId)
-
getConnectionId
final String getConnectionId()
Connection id to be used.
-
-
-
-