org.freedesktop.dbus.test
Class two_part_test_server

java.lang.Object
  extended by org.freedesktop.dbus.test.two_part_test_server
All Implemented Interfaces:
DBusInterface, DBusSigHandler<TwoPartInterface.TwoPartSignal>, TwoPartInterface

public class two_part_test_server
extends java.lang.Object
implements TwoPartInterface, DBusSigHandler<TwoPartInterface.TwoPartSignal>


Nested Class Summary
 class two_part_test_server.two_part_test_object
           
 
Nested classes/interfaces inherited from interface org.freedesktop.dbus.test.TwoPartInterface
TwoPartInterface.TwoPartSignal
 
Constructor Summary
two_part_test_server(DBusConnection conn)
           
 
Method Summary
 TwoPartObject getNew()
           
 void handle(TwoPartInterface.TwoPartSignal s)
          Handle a signal.
 boolean isRemote()
          Returns true on remote objects.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

two_part_test_server

public two_part_test_server(DBusConnection conn)
Method Detail

isRemote

public boolean isRemote()
Description copied from interface: DBusInterface
Returns true on remote objects. Local objects implementing this interface MUST return false.

Specified by:
isRemote in interface DBusInterface

getNew

public TwoPartObject getNew()
Specified by:
getNew in interface TwoPartInterface

handle

public void handle(TwoPartInterface.TwoPartSignal s)
Description copied from interface: DBusSigHandler
Handle a signal.

Specified by:
handle in interface DBusSigHandler<TwoPartInterface.TwoPartSignal>
Parameters:
s - The signal to handle. If such a class exists, the signal will be an instance of the class with the correct type signature. Otherwise it will be an instance of DBusSignal

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception