Package akka.io
Interface ChannelRegistration
-
- All Superinterfaces:
NoSerializationVerificationNeeded
public interface ChannelRegistration extends NoSerializationVerificationNeeded
Explicitly cancel the registration and close the underlying channel. Then run the givenandThen
method. TheandThen
method is run from another thread so make sure it's safe to execute from there.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancelAndClose(scala.Function0<scala.runtime.BoxedUnit> andThen)
Explicitly cancel the registration and close the underlying channel.void
disableInterest(int op)
void
enableInterest(int op)
-
-
-
Method Detail
-
cancelAndClose
void cancelAndClose(scala.Function0<scala.runtime.BoxedUnit> andThen)
Explicitly cancel the registration and close the underlying channel. Then run the givenandThen
method. TheandThen
method is run from another thread so make sure it's safe to execute from there.- Parameters:
andThen
- (undocumented)
-
disableInterest
void disableInterest(int op)
-
enableInterest
void enableInterest(int op)
-
-