|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IVersionable
Marks an object to be MythTv -protocol aware.
See ProtocolVersion for a list of known protocol versions and a list of
changes done between different protocol versions.
IBackendConnection will check this and will throws an ProtocolException.
// the connected recorder IRecorder recorder = ...; // switch to the next recorder input if(recorder.getVersionNr().compareTo(PROTO_VERSION_27)<0) { recorder.toggleInputs(); } else { recorder.switchToNextInput(); }
ProtocolVersion| Method Summary | |
|---|---|
ProtocolVersion |
getVersionNr()
Gets the protocol-version of an object. |
| Method Detail |
|---|
ProtocolVersion getVersionNr()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||