Angielskifrancuskihiszpański

Ad


Ulubiona usługa OnWorks

mdbus2 – Online w chmurze

Uruchom mdbus2 w bezpłatnym dostawcy hostingu OnWorks w systemie Ubuntu Online, Fedora Online, emulatorze online systemu Windows lub emulatorze online systemu MAC OS

Jest to polecenie mdbus2, które można uruchomić w bezpłatnym dostawcy hostingu OnWorks przy użyciu jednej z naszych wielu bezpłatnych stacji roboczych online, takich jak Ubuntu Online, Fedora Online, emulator online systemu Windows lub emulator online systemu MAC OS

PROGRAM:

IMIĘ


mdbus2 - Interaktywna introspekcja, interakcja i monitorowanie DBus

STRESZCZENIE


mdbus2 [OPCJE...] [ obsługuj mnie [ ścieżka obiektu [ metoda [ parametry... ] ] ]]

mdbus2 -Tak

mdbus2 -śl

OPIS


Połączenia mdbus2 polecenie służy do przeglądania i interakcji z usługami DBus na twoim system autobus
i Sesja autobus. Ogólnosystemowa magistrala komunikatów istnieje tylko raz i jest instalowana na wielu komputerach
systemów jako usługę „messagebus”. Magistrala komunikatów sesji jest logowana na użytkownika (uruchomiona
za każdym razem, gdy użytkownik się loguje) i zwykle powiązany z sesją X11.

W najprostszej formie mdbus2 pokazuje dostępne usługi na wybranej magistrali. Dawać
usługa Nazwa, wyświetli dostępne obiekty eksportowane przez usługę. Biorąc pod uwagę usługę
imię i nazwisko przedmiot ścieżka, pokaże odsłonięte metody, Sygnały, niska zabudowa tego
obiekt.

Dostarczanie A metoda Nazwa (I parametry), możesz wywołać metody na obiekcie i uzyskać
powrót wartość(S).

W słuchający tryb, możesz obserwować sygnały wysyłane na wybranej magistrali.

W zestawie znajduje się także interaktywne powłoka z uzupełnianiem kart i historią poleceń.

OPCJE


--pokaż-anonimowy, -a
Pokaż także wyjątkowy (anonimowe) usługi w autobusie.

--system, -s
Użyj magistrali systemowej zamiast (domyślnej) magistrali sesyjnej.

-pokaż-pids, -p
Pokaż identyfikatory procesów UNIX.

--słuchać, -l
Uruchom tryb nasłuchiwania, w którym możesz obserwować sygnały w autobusie.

--interaktywny, -i
Uruchom interaktywną powłokę.

--adnotacje-typy, -t
Adnotuj typy DBus.

ZASTOSOWANIE


Aby wywołać metodę na obiekcie zaimplementowanym przez usługę, należy określić
następujące wartości:

1 usługa Nazwanp org.freesmartphone.ogsmd – Nazwa usługi identyfikuje
proces obsługujący wiele obiektów. Każdy proces dołączony do
bus otrzymuje co najmniej nieunikalną (anonimową) nazwę usługi, np
: 1.0. Unikalne nazwy, np org.freesmartphone.ogsmd, są zwykle podawane
Odwrócona notacja nazwy domeny składająca się wyłącznie z małych liter.

2 przedmiot ścieżkanp /org/freesmartphone/GSM/Device – Ścieżka obiektu
identyfikuje jeden konkretny obiekt obsługiwany przez proces. Zwykle ścieżki obiektów
wyglądają jak ścieżki systemu plików.

3 metodanp org.freesmartphone.GSM.Call.Initiate – Nazwa metody
identyfikuje operację będącą częścią interfejsu (metody i sygnały)
obiektu. Używane są nazwy metod WielbłądCase z oznaczeniem kropkowym.

4 parametrynp + 49123456 głos`. (Do be opisane dalej).

PRZYKŁADY


Dowiedz się, które nazwy magistrali są aktualnie zarejestrowane na magistrali systemowej:

root@om-gta02:~# mdbus -s
: 1.0
: 1.1
: 1.2
: 1.42
: 1.47
: 1.60
: 1.61
org.bluez
org.freedesktop.Avahi
org.freedesktop.DBus
org.freesmartphone.frameworkd
org.freesmartphone.ogsmd
org.pyneo.muxer

Dowiedz się, jakie obiekty obsługuje dana usługa:

root@om-gta02:~# mdbus -s org.freesmartphone.frameworkd
/
/ org
/org/freesmartphone
/org/freesmartphone/Framework
/org/freesmartphone/GSM
/org/freesmartphone/GSM/Device
/org/freesmartphone/GSM/Server

Znajdź interfejs określonego obiektu:

root@om-gta02:~# mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device
[METODA] org.freesmartphone.GSM.Call.Activate( i:index )
[METODA] org.freesmartphone.GSM.Call.ActivateConference( i:index )
[METODA] org.freesmartphone.GSM.Call.HoldActive()
[METODA] org.freesmartphone.GSM.Call.Initiate( s:number, s:type_ )
[METODA] org.freesmartphone.GSM.Call.Release( i:index )
[METODA] org.freesmartphone.GSM.Call.ReleaseAll()
[METODA] org.freesmartphone.GSM.Call.ReleaseHeld()
[SYGNAŁ] org.freesmartphone.GSM.Call.CallStatus( i:index, s:status, a{sv}:properties )
[METODA] org.freedesktop.DBus.Introspectable.Introspect()
[METODA] org.freesmartphone.GSM.Device.CancelCommand()
[METODA] org.freesmartphone.GSM.Device.GetAntennaPower()
[METODA] org.freesmartphone.GSM.Device.GetFeatures()
[METODA] org.freesmartphone.GSM.Device.GetInfo()
[METODA] org.freesmartphone.GSM.Device.PrepareForSuspend()
[METODA] org.freesmartphone.GSM.Device.RecoverFromSuspend()
[METODA] org.freesmartphone.GSM.Device.SetAntennaPower( b:power )
[METODA] org.freesmartphone.GSM.SIM.ChangeAuthCode( s:old_pin, s:new_pin )
[METODA] org.freesmartphone.GSM.SIM.DeleteEntry( i:index )
[METODA] org.freesmartphone.GSM.SIM.DeleteMessage( i:index )
[METODA] org.freesmartphone.GSM.SIM.GetAuthStatus()
[METODA] org.freesmartphone.GSM.SIM.GetImsi()
[METODA] org.freesmartphone.GSM.SIM.GetMessagebookInfo()
[METODA] org.freesmartphone.GSM.SIM.GetPhonebookInfo()
[METODA] org.freesmartphone.GSM.SIM.GetServiceCenterNumber()
[METODA] org.freesmartphone.GSM.SIM.GetSimCountryCode()
[METODA] org.freesmartphone.GSM.SIM.GetSubscriberNumbers()
[METODA] org.freesmartphone.GSM.SIM.RetrieveEntry( i:index )
[METODA] org.freesmartphone.GSM.SIM.RetrieveMessage( i:index )
[METODA] org.freesmartphone.GSM.SIM.RetrieveMessagebook( s:category )
[METODA] org.freesmartphone.GSM.SIM.RetrievePhonebook()
[METODA] org.freesmartphone.GSM.SIM.SendAuthCode( s:code )
[METODA] org.freesmartphone.GSM.SIM.SetServiceCenterNumber( s:number )
[METODA] org.freesmartphone.GSM.SIM.StoreEntry( i:index, s:name, s:number )
[METODA] org.freesmartphone.GSM.SIM.StoreMessage( s:number, s:content )
[METODA] org.freesmartphone.GSM.SIM.Unlock( s:puk, s:new_pin )
[SYGNAŁ] org.freesmartphone.GSM.SIM.AuthStatus( s:status )
[SYGNAL] org.freesmartphone.GSM.SIM.NewMessage( i:index )
[METODA] org.freesmartphone.GSM.Network.DisableCallForwarding( s:reason, s:class_ )
[METODA] org.freesmartphone.GSM.Network.EnableCallForwarding( s:powód, s:klasa_, s:number, i:timeout )
[METODA] org.freesmartphone.GSM.Network.GetCallForwarding( s:powód )
[METODA] org.freesmartphone.GSM.Network.GetCallingIdentification()
[METODA] org.freesmartphone.GSM.Network.GetNetworkCountryCode()
[METODA] org.freesmartphone.GSM.Network.GetSignalStrength()
[METODA] org.freesmartphone.GSM.Network.GetStatus()
[METODA] org.freesmartphone.GSM.Network.ListProviders()
[METODA] org.freesmartphone.GSM.Network.Register()
[METODA] org.freesmartphone.GSM.Network.RegisterWithProvider( i:operator_code )
[METODA] org.freesmartphone.GSM.Network.SetCallingIdentification( s:status )
[METODA] org.freesmartphone.GSM.Network.Unregister()
[SIGNAL] org.freesmartphone.GSM.Network.SignalStrength( i:siła )
[SYGNAL] org.freesmartphone.GSM.Network.Status( a{sv}:status )
[METODA] org.freesmartphone.GSM.PDP.ActivateContext( s:apn, s:user, s:password )
[METODA] org.freesmartphone.GSM.PDP.DeactivateContext()
[METODA] org.freesmartphone.GSM.PDP.GetCurrentGprsClass()
[METODA] org.freesmartphone.GSM.PDP.ListAvailableGprsClasses()
[METODA] org.freesmartphone.GSM.PDP.SetCurrentGprsClass( s:class_ )
[SYGNAŁ] org.freesmartphone.GSM.PDP.ContextStatus( i:index, s:status, a{sv}:properties )
[METODA] org.freesmartphone.GSM.Test.Command( s:command )
[METODA] org.freesmartphone.GSM.Test.Echo( s:echo )

Wywołaj metodę w interfejsie:

root@om-gta02 ~ $ mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.Device.GetInfo
{ 'imei': '354651011234567',
„producent”: „FIC/OpenMoko”,
'model': '"Wbudowany modem GSM Neo1973 GTA02"',
'wersja': '"HW: GTA02BV5, GSM: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko8"'}

Użyj go w trybie słuchania:

root@om-gta02:/local/pkg/fso/framework/framework# mdbus -s -l
nasłuchiwanie sygnałów na SystemBus z usługi „all”, obiektu „all”...
[SYGNAŁ] org.freedesktop.DBus.NameOwnerChanged z org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u'org.pyneo.muxer'), dbus.String(u':1.6'), dbus.String(u''))
[SYGNAŁ] org.freedesktop.DBus.NameOwnerChanged z org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u':1.6'), dbus.String(u':1.6'), dbus.String(u''))
[SYGNAŁ] org.freedesktop.DBus.NameOwnerChanged z org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u':1.28'), dbus.String(u''), dbus.String(u':1.28'))
[SYGNAŁ] org.freedesktop.DBus.NameOwnerChanged z org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u'org.freesmartphone.frameworkd'), dbus.String(u''), dbus.String(u':1.28'))
[SYGNAŁ] org.freedesktop.DBus.NameOwnerChanged z org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u'org.freesmartphone.ogsmd'), dbus.String(u''), dbus.String(u':1.28'))
[SYGNAŁ] org.freedesktop.DBus.NameOwnerChanged z org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u':1.29'), dbus.String(u''), dbus.String(u':1.29'))
[SYGNAŁ] org.freedesktop.DBus.NameOwnerChanged z org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u'org.pyneo.muxer'), dbus.String(u''), dbus.String(u':1.29'))
[SYGNAŁ] org.freedesktop.DBus.NameOwnerChanged z org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u':1.30'), dbus.String(u''), dbus.String(u':1.30'))
[SIGNAL] org.freesmartphone.GSM.SIM.ReadyStatus z :1.28 /org/freesmartphone/GSM/Device
(dbus.Boolean(Fałsz))
[SIGNAL] org.freesmartphone.GSM.SIM.AuthStatus z :1.28 /org/freesmartphone/GSM/Device
(dbus.String(u'PIN karty SIM'),)
[SIGNAL] org.freesmartphone.GSM.SIM.AuthStatus z :1.28 /org/freesmartphone/GSM/Device
(dbus.String(u'GOTOWY'),)
[SIGNAL] org.freesmartphone.GSM.SIM.ReadyStatus z :1.28 /org/freesmartphone/GSM/Device
(dbus.Boolean(True))

Korzystaj z mdbus2 online, korzystając z usług onworks.net


Darmowe serwery i stacje robocze

Pobierz aplikacje Windows i Linux

  • 1
    Phaser
    Phaser
    Phaser to szybka, darmowa i zabawna gra otwarta
    źródłowa struktura gry HTML5, która oferuje
    Renderowanie WebGL i Canvas w poprzek
    przeglądarek internetowych na komputery i urządzenia mobilne. Gry
    może być współ...
    Pobierz Phaser
  • 2
    Silnik WASAL
    Silnik WASAL
    VASSAL to silnik gry do tworzenia
    elektroniczne wersje tradycyjnej tablicy
    i gry karciane. Zapewnia wsparcie dla
    renderowanie elementów gry i interakcja,
    i ...
    Pobierz silnik VASSAL
  • 3
    OpenPDF — rozwidlenie iText
    OpenPDF — rozwidlenie iText
    OpenPDF to biblioteka Java do tworzenia
    i edycji plików PDF z LGPL i
    Licencja open source MPL. OpenPDF to
    LGPL/MPL open source następca iText,
    w ...
    Pobierz OpenPDF — rozwidlenie iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System do Automatyzacji
    Analizy geologiczne - to geografia
    Oprogramowanie systemu informacyjnego (GIS) z
    ogromne możliwości geodanych
    przetwarzanie i an...
    Pobierz SAGA GIS
  • 5
    Przybornik dla Java/JTOOpen
    Przybornik dla Java/JTOOpen
    IBM Toolbox for Java / JTOpen to
    biblioteka klas Java obsługująca
    klient/serwer i programowanie internetowe
    modeli do systemu z systemem OS/400,
    i5/OS, lub...
    Pobierz Zestaw narzędzi dla języka Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (lub D3 dla dokumentów opartych na danych)
    to biblioteka JavaScript, która pozwala
    do tworzenia dynamicznych, interaktywnych danych
    wizualizacje w przeglądarkach internetowych. Z D3
    ty...
    Pobierz plik D3.js
  • więcej »

Komendy systemu Linux

Ad