package x;

import java.io.IOException;

import org.omg.CORBA.Any;
import org.omg.CORBA.NVList;
import org.omg.CORBA.Policy;
import org.omg.CORBA.PolicyError;
import org.omg.CORBA.portable.RemarshalException;
import org.omg.PortableInterceptor.Current;
import org.omg.PortableInterceptor.Interceptor;
import org.omg.PortableInterceptor.ObjectReferenceTemplate;
import org.omg.PortableInterceptor.PolicyFactory;
import org.omg.PortableInterceptor.ORBInitInfoPackage.DuplicateName;

import com.sun.corba.se.impl.corba.RequestImpl;
import com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage;
import com.sun.corba.se.spi.ior.ObjectKeyTemplate;
import com.sun.corba.se.spi.oa.ObjectAdapter;
import com.sun.corba.se.spi.protocol.CorbaMessageMediator;
import com.sun.corba.se.spi.protocol.PIHandler;

public class MyPIHandler implements PIHandler {

    @Override
    public void adapterManagerStateChanged(int managerId, short newState) {
        // TODO Auto-generated method stub

    }

    @Override
    public void adapterStateChanged(ObjectReferenceTemplate[] templates,
            short newState) {
        // TODO Auto-generated method stub

    }

    @Override
    public int allocateServerRequestId() {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public void cleanupClientPIRequest() {
        // TODO Auto-generated method stub

    }

    @Override
    public void cleanupServerPIRequest() {
        // TODO Auto-generated method stub

    }

    @Override
    public Policy create_policy(int type, Any val) throws PolicyError {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void destroyInterceptors() {
        // TODO Auto-generated method stub

    }

    @Override
    public void disableInterceptorsThisThread() {
        // TODO Auto-generated method stub

    }

    @Override
    public void enableInterceptorsThisThread() {
        // TODO Auto-generated method stub

    }

    @Override
    public Current getPICurrent() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void initialize() {
        // TODO Auto-generated method stub

    }

    @Override
    public void initializeServerPIInfo(CorbaMessageMediator request,
            ObjectAdapter oa, byte[] objectId, ObjectKeyTemplate oktemp) {
        // TODO Auto-generated method stub

    }

    @Override
    public void initiateClientPIRequest(boolean diiRequest) {
        // TODO Auto-generated method stub

    }

    @Override
    public Exception invokeClientPIEndingPoint(int replyStatus,
            Exception exception) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void invokeClientPIStartingPoint() throws RemarshalException {
        // TODO Auto-generated method stub

    }

    @Override
    public void invokeServerPIEndingPoint(ReplyMessage replyMessage) {
        // TODO Auto-generated method stub

    }

    @Override
    public void invokeServerPIIntermediatePoint() {
        // TODO Auto-generated method stub

    }

    @Override
    public void invokeServerPIStartingPoint() {
        // TODO Auto-generated method stub

    }

    public Exception makeCompletedClientRequest(int replyStatus,
            Exception exception) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void objectAdapterCreated(ObjectAdapter oa) {
        // TODO Auto-generated method stub

    }

    @Override
    public void registerPolicyFactory(int type, PolicyFactory factory) {
        // TODO Auto-generated method stub

    }

    @Override
    public void register_interceptor(Interceptor interceptor, int type)
            throws DuplicateName {
        // TODO Auto-generated method stub

    }

    @Override
    public void setClientPIInfo(RequestImpl requestImpl) {
        // TODO Auto-generated method stub

    }

    @Override
    public void setClientPIInfo(CorbaMessageMediator messageMediator) {
        // TODO Auto-generated method stub

    }

    @Override
    public void setServerPIExceptionInfo(Any exception) {
        // TODO Auto-generated method stub

    }

    @Override
    public void setServerPIInfo(Exception exception) {
        // TODO Auto-generated method stub

    }

    @Override
    public void setServerPIInfo(NVList arguments) {
        // TODO Auto-generated method stub

    }

    @Override
    public void setServerPIInfo(Any result) {
        // TODO Auto-generated method stub

    }

    @Override
    public void setServerPIInfo(Object servant,
            String targetMostDerivedInterface) {
        // TODO Auto-generated method stub

    }

    public void close() throws IOException {
        // TODO Auto-generated method stub

    }

}
