Interface RemoteConnectorContext
- All Known Implementing Classes:
Rs232RemoteConnector,SocketBasedConnector,StreamRemoteConnector
public interface RemoteConnectorContext
-
Method Summary
Modifier and TypeMethodDescriptionvoidchangeState(AuthStatus desiredState)voidchangeState(RemoteConnectorState newState)voidclose()getClock()booleanvoidvoidvoidsendAcknowledgement(AckStatus ackStatus)voidsendHeartbeat(int frequency, MenuHeartbeatCommand.HeartbeatMode mode)voidsendJoin()voidvoidsetRemoteParty(RemoteInformation remote)
-
Method Details
-
sendJoin
- Throws:
IOException
-
sendPairing
- Throws:
IOException
-
readCommandFromStream
- Throws:
IOException
-
isDeviceConnected
boolean isDeviceConnected() -
performConnection
- Throws:
IOException
-
getScheduledExecutor
ScheduledExecutorService getScheduledExecutor() -
getClock
Clock getClock() -
getConnectionName
String getConnectionName() -
close
void close()