インタフェースcom.sun.nio.sctp.NotificationHandler
の使用
-
com.sun.nio.sctpでのNotificationHandlerの使用
修飾子と型メソッド説明abstract <T> MessageInfo
SctpChannel.receive
(ByteBuffer dst, T attachment, NotificationHandler<T> handler) 指定されたバッファへのメッセージを受信するか、通知を処理します(あるいはその両方を行います)。abstract <T> MessageInfo
SctpMultiChannel.receive
(ByteBuffer buffer, T attachment, NotificationHandler<T> handler) このチャネル経由でメッセージを受信するか、通知を処理します(あるいはその両方を行います)。