パッケージ com.shimizukenta.secs
インタフェース SecsMessageSendable
- 既知のサブインタフェースのリスト:
HsmsGemAccessor,HsmsMessageSendable,HsmsSession,HsmsSsCommunicator,Secs1Communicator,Secs1GemAccessor,Secs1MessageSendable,Secs1OnTcpIpCommunicator,Secs1OnTcpIpReceiverCommunicator,SecsCommunicator,SecsGemAccessor
public interface SecsMessageSendable
This interface is implementation of send SECS-Message.
- To send Primary-Message and receive Reply-Message,
send(int, int, boolean, Secs2) - To send Primary-(Header-only)-Message and receive Reply-Message,
send(int, int, boolean) - To send Primary-Message by SML and receive Reply-Message,
send(SmlMessage) - To send Reply-Message,
send(SecsMessage, int, int, boolean, Secs2) - To send Reply-(Header-only)-Message,
send(SecsMessage, int, int, boolean) - To send Reply-Message by SML,
send(SecsMessage, SmlMessage)
-
メソッドの概要
修飾子とタイプ メソッド 説明 java.util.Optional<SecsMessage>send(int strm, int func, boolean wbit)Send Primary-(Header-only)-Message and receive Reply-Message.java.util.Optional<SecsMessage>send(int strm, int func, boolean wbit, Secs2 secs2)Send Primary-Message and receive Reply-Message.java.util.Optional<SecsMessage>send(SecsMessage primaryMsg, int strm, int func, boolean wbit)Send Reply-(Header-only)-Message.java.util.Optional<SecsMessage>send(SecsMessage primaryMsg, int strm, int func, boolean wbit, Secs2 secs2)Send Reply-Message.java.util.Optional<SecsMessage>send(SecsMessage primaryMsg, SmlMessage sml)Send Reply-Message by SML.java.util.Optional<SecsMessage>send(SmlMessage sml)Send Primary-Message by SML and receive Reply-Message
-
メソッドの詳細
-
send
java.util.Optional<SecsMessage> send(int strm, int func, boolean wbit) throws SecsSendMessageException, SecsWaitReplyMessageException, SecsException, java.lang.InterruptedExceptionSend Primary-(Header-only)-Message and receive Reply-Message.Blocking-method.
Wait until sended Primay-Message and received Reply-Message if exist.
- パラメータ:
strm- SECS-II-Stream-Numberfunc- SECS-II-Function-Numberwbit- SECS-II-WBit, set true if w-bit is 1- 戻り値:
- Reply-Message if exist
- 例外:
SecsSendMessageException- if send failedSecsWaitReplyMessageException- if receive message failed, e.g. Timeout-T3SecsException- if SECS failedjava.lang.InterruptedException- if interrupted
-
send
java.util.Optional<SecsMessage> send(int strm, int func, boolean wbit, Secs2 secs2) throws SecsSendMessageException, SecsWaitReplyMessageException, SecsException, java.lang.InterruptedExceptionSend Primary-Message and receive Reply-Message.Blocking-method.
Wait until sended Primay-Message and received Reply-Message if exist.
- パラメータ:
strm- SECS-II-Stream-Numberfunc- SECS-II-Function-Numberwbit- SECS-II-WBit, set true if w-bit is 1secs2- SECS-II-data, Not accept null- 戻り値:
- Reply-Message if exist
- 例外:
SecsSendMessageException- if send failedSecsWaitReplyMessageException- if receive message failed, e.g. Timeout-T3SecsException- if SECS failedjava.lang.InterruptedException- the interrupted
-
send
java.util.Optional<SecsMessage> send(SecsMessage primaryMsg, int strm, int func, boolean wbit) throws SecsSendMessageException, SecsWaitReplyMessageException, SecsException, java.lang.InterruptedExceptionSend Reply-(Header-only)-Message.Blocking-method.
Wait until sended.
- パラメータ:
primaryMsg- Primary-Messagestrm- SECS-II-Stream-Numberfunc- SECS-II-Function-Numberwbit- SECS-II-WBit, set true if w-bit is 1- 戻り値:
Optional.empty()- 例外:
SecsSendMessageException- if send failedSecsWaitReplyMessageException- if receive message failed, e.g. Timeout-T3SecsException- if SECS failedjava.lang.InterruptedException- if interrupted
-
send
java.util.Optional<SecsMessage> send(SecsMessage primaryMsg, int strm, int func, boolean wbit, Secs2 secs2) throws SecsSendMessageException, SecsWaitReplyMessageException, SecsException, java.lang.InterruptedExceptionSend Reply-Message.Blocking-method.
Wait until sended.
- パラメータ:
primaryMsg- Primary-Messagestrm- SECS-II-Stream-Numberfunc- SECS-II-Function-Numberwbit- SECS-II-WBit, set true if w-bit is 1secs2- SECS-II-data, Not accept null- 戻り値:
Optional.empty()- 例外:
SecsSendMessageException- if send failedSecsWaitReplyMessageException- if receive message failed, e.g. Timeout-T3SecsException- if SECS failedjava.lang.InterruptedException- if interrupted
-
send
java.util.Optional<SecsMessage> send(SmlMessage sml) throws SecsSendMessageException, SecsWaitReplyMessageException, SecsException, java.lang.InterruptedExceptionSend Primary-Message by SML and receive Reply-Message
Blocking-method.
Wait until sended Primay-Message and received Reply-Message if exist.
- パラメータ:
sml- the SML-Message- 戻り値:
- Reply-Message if exist
- 例外:
SecsSendMessageException- if send failedSecsWaitReplyMessageException- if receive message failed, e.g. Timeout-T3SecsException- if SECS failedjava.lang.InterruptedException- if interrupted
-
send
java.util.Optional<SecsMessage> send(SecsMessage primaryMsg, SmlMessage sml) throws SecsSendMessageException, SecsWaitReplyMessageException, SecsException, java.lang.InterruptedExceptionSend Reply-Message by SML.Blocking-method.
Wait until sended.
- パラメータ:
primaryMsg- Primary-Message.sml- the SML-Message- 戻り値:
Optional.empty()- 例外:
SecsSendMessageException- if send failedSecsWaitReplyMessageException- if receive message failed, e.g. Timeout-T3SecsException- if SECS failedjava.lang.InterruptedException- if interrupted
-