/** * Gets the {@link EmberLibraryStatus} of the requested {@link EmberLibraryId} * * @return the {@link EmberLibraryStatus} of the local node */ public EmberLibraryStatus GetLibraryStatus(EmberLibraryId libraryId) { EzspGetLibraryStatusRequest request = new EzspGetLibraryStatusRequest(); request.SetLibraryId(libraryId); IEzspTransaction transaction = _protocolHandler.SendEzspTransaction(new EzspSingleResponseTransaction(request, typeof(EzspGetLibraryStatusResponse))); EzspGetLibraryStatusResponse response = (EzspGetLibraryStatusResponse)transaction.GetResponse(); return(response.GetStatus()); }
public void SerializeEmberLibraryId(EmberLibraryId libraryId) { _buffer[_length++] = (int)libraryId; }
/// <summary> /// The libraryId to set as <see cref="EmberLibraryId"/> </summary> public void SetLibraryId(EmberLibraryId libraryId) { _libraryId = libraryId; }