org.jmythapi.protocol
Interface ISendable

All Known Subinterfaces:
IAskRecording, IClearSettingsCache, IClientErrorEvent, ICommflagStart, IDoneRecording, IDownloadFile<E>, IDownloadFileFinished, IDownloadFileUpdate, ILiveTvChainUpdate, IMythEvent<E>, IMythRequest, IMythResponse<E>, IPixmapGenerated, IRecordingEvent<E>, IRecordingListChange<E>, IRecordingListChangeAdd, IRecordingListChangeDelete, IRecordingListChangeList, IRecordingListChangeSingle<E>, IRecordingListChangeUpdate, IRecordingUpdateEvent<E>, IResetIdleTime, IScheduleChange, IShutdownCountdown, ISystemEvent, IUpdateFileSize, IUpdateProgInfo, IVideoList<E>, IVideoListChange, IVideoListNoChange
All Known Implementing Classes:
AFreeSpace, AMythEvent, AMythRequest, AMythResponse, AProgramInfo, ARecorderProgramInfo, ARecordings, AskRecording, ClearSettingsCache, ClientErrorEvent, CommflagStart, DoneRecording, DownloadFileFinished, DownloadFileUpdate, FileStatus, FileTransfer, FreeInputsList, FreeSpace, FreeSpaceList, FreeSpaceList.Entry, FreeSpaceSummary, GuideDataThrough, InputInfoFree, InputInfoTuned, LiveTvChainUpdate, Load, MemStats, Pixmap, PixmapGenerated, ProgramInfo, ProgramInfoList, RecorderChannelInfo, RecorderChannelPrefixStatus, RecorderInfo, RecorderNextProgramInfo, RecorderProgramInfo, RecordingListChangeAdd, RecordingListChangeAny, RecordingListChangeDelete, RecordingListChangeUpdate, RecordingsConflicting, RecordingsExpiring, RecordingsPending, RecordingsScheduled, RecordingStatus, RemoteEncoderBusyStatus, RemoteEncoderState, ResetIdleTime, RingBuffer, ScheduleChange, Setting, ShutdownCountdown, StorageGroupFile, StorageGroupFileList, SystemEvent, Timezone, TunerInfo, UpdateFileSize, UpdateProgInfo, Uptime, VideoList, VideoListChange, VideoListNoChange

public interface ISendable

A request or response message that can be send over network.

Each object implementing this interface must implement the method getPacket(). This method is used to convert the payload of the sendable object into a MythTV-protocol packet, which can be send over network.


Method Summary
 IMythPacket getPacket()
          Converts the object into a packet that can be send over network.
 

Method Detail

getPacket

IMythPacket getPacket()
Converts the object into a packet that can be send over network.

Returns:
a packet object that can be send over network


Copyright © 2008-2013. All Rights Reserved.