TPTP 4.4.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.trace
Class IiopTransport

java.lang.Object
  extended byorg.omg.CORBA.LocalObject
      extended byorg.eclipse.hyades.execution.trace.IiopTransport
All Implemented Interfaces:
org.omg.PortableInterceptor.ClientRequestInterceptor, org.omg.PortableInterceptor.ClientRequestInterceptorOperations, org.omg.CORBA.portable.IDLEntity, org.omg.PortableInterceptor.Interceptor, org.omg.PortableInterceptor.InterceptorOperations, ITransport, org.omg.CORBA.Object, org.omg.PortableInterceptor.ORBInitializer, org.omg.PortableInterceptor.ORBInitializerOperations, java.io.Serializable, org.omg.PortableInterceptor.ServerRequestInterceptor, org.omg.PortableInterceptor.ServerRequestInterceptorOperations

public class IiopTransport
extends org.omg.CORBA.LocalObject
implements org.omg.PortableInterceptor.ORBInitializer, org.omg.PortableInterceptor.ClientRequestInterceptor, org.omg.PortableInterceptor.ServerRequestInterceptor, ITransport

This is the transport layer for the profiler.

See Also:
Serialized Form

Constructor Summary
IiopTransport()
          Creates a transport for the profiler.
 
Method Summary
 void destroy()
           
 java.lang.String name()
           
 void post_init(org.omg.PortableInterceptor.ORBInitInfo info)
           
 void pre_init(org.omg.PortableInterceptor.ORBInitInfo initInfo)
           
 void receive_exception(org.omg.PortableInterceptor.ClientRequestInfo ri)
           
 void receive_other(org.omg.PortableInterceptor.ClientRequestInfo ri)
           
 void receive_reply(org.omg.PortableInterceptor.ClientRequestInfo ri)
           
 void receive_request_service_contexts(org.omg.PortableInterceptor.ServerRequestInfo ri)
           
 void receive_request(org.omg.PortableInterceptor.ServerRequestInfo ri)
           
 byte[] receiveReply()
          Receive a reply.
 byte[] receiveRequest()
          Receive a request.
 void send_exception(org.omg.PortableInterceptor.ServerRequestInfo ri)
           
 void send_other(org.omg.PortableInterceptor.ServerRequestInfo ri)
           
 void send_poll(org.omg.PortableInterceptor.ClientRequestInfo ri)
           
 void send_reply(org.omg.PortableInterceptor.ServerRequestInfo ri)
           
 void send_request(org.omg.PortableInterceptor.ClientRequestInfo ri)
           
 void sendReply(byte[] buffer, int offset, int length)
          Send a reply.
 void sendRequest(byte[] buffer, int offset, int length)
          Send a request.
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

IiopTransport

public IiopTransport()
Creates a transport for the profiler.

Method Detail

pre_init

public void pre_init(org.omg.PortableInterceptor.ORBInitInfo initInfo)
Specified by:
pre_init in interface org.omg.PortableInterceptor.ORBInitializerOperations
See Also:
ORBInitializerOperations.pre_init(ORBInitInfo)

post_init

public void post_init(org.omg.PortableInterceptor.ORBInitInfo info)
Specified by:
post_init in interface org.omg.PortableInterceptor.ORBInitializerOperations
See Also:
ORBInitializerOperations.post_init(ORBInitInfo)

send_request

public void send_request(org.omg.PortableInterceptor.ClientRequestInfo ri)
                  throws org.omg.PortableInterceptor.ForwardRequest
Specified by:
send_request in interface org.omg.PortableInterceptor.ClientRequestInterceptorOperations
Throws:
org.omg.PortableInterceptor.ForwardRequest
See Also:
ClientRequestInterceptorOperations.send_request(ClientRequestInfo)

send_poll

public void send_poll(org.omg.PortableInterceptor.ClientRequestInfo ri)
Specified by:
send_poll in interface org.omg.PortableInterceptor.ClientRequestInterceptorOperations
See Also:
ClientRequestInterceptorOperations.send_poll(ClientRequestInfo)

receive_reply

public void receive_reply(org.omg.PortableInterceptor.ClientRequestInfo ri)
Specified by:
receive_reply in interface org.omg.PortableInterceptor.ClientRequestInterceptorOperations
See Also:
ClientRequestInterceptorOperations.receive_reply(ClientRequestInfo)

receive_exception

public void receive_exception(org.omg.PortableInterceptor.ClientRequestInfo ri)
                       throws org.omg.PortableInterceptor.ForwardRequest
Specified by:
receive_exception in interface org.omg.PortableInterceptor.ClientRequestInterceptorOperations
Throws:
org.omg.PortableInterceptor.ForwardRequest
See Also:
ClientRequestInterceptorOperations.receive_exception(ClientRequestInfo)

receive_other

public void receive_other(org.omg.PortableInterceptor.ClientRequestInfo ri)
                   throws org.omg.PortableInterceptor.ForwardRequest
Specified by:
receive_other in interface org.omg.PortableInterceptor.ClientRequestInterceptorOperations
Throws:
org.omg.PortableInterceptor.ForwardRequest
See Also:
ClientRequestInterceptorOperations.receive_other(ClientRequestInfo)

name

public java.lang.String name()
Specified by:
name in interface org.omg.PortableInterceptor.InterceptorOperations
See Also:
InterceptorOperations.name()

destroy

public void destroy()
Specified by:
destroy in interface org.omg.PortableInterceptor.InterceptorOperations
See Also:
InterceptorOperations.destroy()

receive_request_service_contexts

public void receive_request_service_contexts(org.omg.PortableInterceptor.ServerRequestInfo ri)
                                      throws org.omg.PortableInterceptor.ForwardRequest
Specified by:
receive_request_service_contexts in interface org.omg.PortableInterceptor.ServerRequestInterceptorOperations
Throws:
org.omg.PortableInterceptor.ForwardRequest
See Also:
ServerRequestInterceptorOperations.receive_request_service_contexts(ServerRequestInfo)

receive_request

public void receive_request(org.omg.PortableInterceptor.ServerRequestInfo ri)
                     throws org.omg.PortableInterceptor.ForwardRequest
Specified by:
receive_request in interface org.omg.PortableInterceptor.ServerRequestInterceptorOperations
Throws:
org.omg.PortableInterceptor.ForwardRequest
See Also:
ServerRequestInterceptorOperations.receive_request(ServerRequestInfo)

send_reply

public void send_reply(org.omg.PortableInterceptor.ServerRequestInfo ri)
Specified by:
send_reply in interface org.omg.PortableInterceptor.ServerRequestInterceptorOperations
See Also:
ServerRequestInterceptorOperations.send_reply(ServerRequestInfo)

send_exception

public void send_exception(org.omg.PortableInterceptor.ServerRequestInfo ri)
                    throws org.omg.PortableInterceptor.ForwardRequest
Specified by:
send_exception in interface org.omg.PortableInterceptor.ServerRequestInterceptorOperations
Throws:
org.omg.PortableInterceptor.ForwardRequest
See Also:
ServerRequestInterceptorOperations.send_exception(ServerRequestInfo)

send_other

public void send_other(org.omg.PortableInterceptor.ServerRequestInfo ri)
                throws org.omg.PortableInterceptor.ForwardRequest
Specified by:
send_other in interface org.omg.PortableInterceptor.ServerRequestInterceptorOperations
Throws:
org.omg.PortableInterceptor.ForwardRequest
See Also:
ServerRequestInterceptorOperations.send_other(ServerRequestInfo)

sendRequest

public void sendRequest(byte[] buffer,
                        int offset,
                        int length)
Description copied from interface: ITransport
Send a request.

Specified by:
sendRequest in interface ITransport
Parameters:
buffer - the data buffer to be sent
offset - the starting position of the data to be sent
length - the length (in bytes) of the data to be sent
See Also:
ITransport.sendRequest(byte[], int, int)

sendReply

public void sendReply(byte[] buffer,
                      int offset,
                      int length)
Description copied from interface: ITransport
Send a reply.

Specified by:
sendReply in interface ITransport
Parameters:
buffer - the data buffer to be sent
offset - the starting position of the data to be sent
length - the length (in bytes) of the data to be sent
See Also:
ITransport.sendReply(byte[], int, int)

receiveReply

public byte[] receiveReply()
Description copied from interface: ITransport
Receive a reply.

Specified by:
receiveReply in interface ITransport
Returns:
reply received.
See Also:
ITransport.receiveReply()

receiveRequest

public byte[] receiveRequest()
Description copied from interface: ITransport
Receive a request.

Specified by:
receiveRequest in interface ITransport
Returns:
request received.
See Also:
ITransport.receiveRequest()

TPTP 4.4.0 Platform Project
Public API Specification