org.jacorb.demo.notification.whiteboard
Class WhiteBoard

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.jacorb.demo.notification.whiteboard.IWhiteBoardPOA
          extended by org.jacorb.demo.notification.whiteboard.WhiteBoard
All Implemented Interfaces:
IWhiteBoardOperations, WhiteboardVars, InvokeHandler

public class WhiteBoard
extends IWhiteBoardPOA
implements IWhiteBoardOperations, WhiteboardVars

Author:
Alphonse Bendt

Field Summary
protected  Map workgroups_
           
 
Fields inherited from interface org.jacorb.demo.notification.whiteboard.WhiteboardVars
EVENT_DOMAIN, WORKGROUP_ID
 
Constructor Summary
WhiteBoard(ORB orb, EventChannel channel)
           
WhiteBoard(ORB orb, EventChannel channel, int xsize, int ysize)
           
 
Method Summary
 void clear()
           
 int[] getCurrentImage()
           
 IRegistrationInfo join(IWorkgroup group)
           
 boolean leave(int workgroup)
           
 
Methods inherited from class org.jacorb.demo.notification.whiteboard.IWhiteBoardPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

workgroups_

protected Map workgroups_
Constructor Detail

WhiteBoard

public WhiteBoard(ORB orb,
                  EventChannel channel)
           throws AdminLimitExceeded
Throws:
AdminLimitExceeded

WhiteBoard

public WhiteBoard(ORB orb,
                  EventChannel channel,
                  int xsize,
                  int ysize)
           throws AdminLimitExceeded
Throws:
AdminLimitExceeded
Method Detail

getCurrentImage

public int[] getCurrentImage()

join

public IRegistrationInfo join(IWorkgroup group)
Specified by:
join in interface IWhiteBoardOperations

leave

public boolean leave(int workgroup)
Specified by:
leave in interface IWhiteBoardOperations

clear

public void clear()


Copyright © 2016 JacORB. All rights reserved.