org.apache.yoko.orb.OB
Class CollocatedServer

java.lang.Object
  extended by org.apache.yoko.orb.OB.Server
      extended by org.apache.yoko.orb.OB.CollocatedServer
All Implemented Interfaces:
UpcallReturn

public final class CollocatedServer
extends Server
implements UpcallReturn


Field Summary
 
Fields inherited from class org.apache.yoko.orb.OB.Server
Blocking, concModel_, Threaded
 
Constructor Summary
CollocatedServer(OAInterface oaInterface, int concModel)
           
 
Method Summary
 void activate()
           
 void destroy()
           
 ProfileInfo[] getUsableProfiles(IOR ior, Policy[] policies)
           
 void hold()
           
 boolean receive(Downcall down, boolean block)
           
 int requestId()
           
 boolean send(Downcall down, boolean b)
           
 boolean sendReceive(Downcall down)
           
 void upcallBeginReply(Upcall upcall, ServiceContext[] replySCL)
           
 void upcallBeginUserException(Upcall upcall, ServiceContext[] replySCL)
           
 void upcallEndReply(Upcall upcall)
           
 void upcallEndUserException(Upcall upcall)
           
 void upcallForward(Upcall upcall, IOR ior, boolean perm, ServiceContext[] replySCL)
           
 void upcallSystemException(Upcall upcall, SystemException ex, ServiceContext[] replySCL)
           
 void upcallUserException(Upcall upcall, UserException ex, ServiceContext[] replySCL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollocatedServer

public CollocatedServer(OAInterface oaInterface,
                        int concModel)
Method Detail

destroy

public void destroy()

hold

public void hold()

activate

public void activate()

send

public boolean send(Downcall down,
                    boolean b)

receive

public boolean receive(Downcall down,
                       boolean block)

sendReceive

public boolean sendReceive(Downcall down)

requestId

public int requestId()

getUsableProfiles

public ProfileInfo[] getUsableProfiles(IOR ior,
                                       Policy[] policies)

upcallBeginReply

public void upcallBeginReply(Upcall upcall,
                             ServiceContext[] replySCL)
Specified by:
upcallBeginReply in interface UpcallReturn

upcallEndReply

public void upcallEndReply(Upcall upcall)
Specified by:
upcallEndReply in interface UpcallReturn

upcallBeginUserException

public void upcallBeginUserException(Upcall upcall,
                                     ServiceContext[] replySCL)
Specified by:
upcallBeginUserException in interface UpcallReturn

upcallEndUserException

public void upcallEndUserException(Upcall upcall)
Specified by:
upcallEndUserException in interface UpcallReturn

upcallUserException

public void upcallUserException(Upcall upcall,
                                UserException ex,
                                ServiceContext[] replySCL)
Specified by:
upcallUserException in interface UpcallReturn

upcallSystemException

public void upcallSystemException(Upcall upcall,
                                  SystemException ex,
                                  ServiceContext[] replySCL)
Specified by:
upcallSystemException in interface UpcallReturn

upcallForward

public void upcallForward(Upcall upcall,
                          IOR ior,
                          boolean perm,
                          ServiceContext[] replySCL)
Specified by:
upcallForward in interface UpcallReturn


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.