Package io.hekate.network
Interface NetworkMessage.PreviewInt
-
- Enclosing interface:
- NetworkMessage<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface NetworkMessage.PreviewInt
Preview function forNetworkMessage.previewInt(PreviewInt)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
apply(DataReader rd)
Applies this function.
-
-
-
Method Detail
-
apply
int apply(DataReader rd) throws IOException
Applies this function.- Parameters:
rd
- Reader.- Returns:
- Result of this function.
- Throws:
IOException
- Message reading failure.
-
-