package x;

import java.io.IOException;
import java.net.Socket;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;

import org.omg.CORBA.SystemException;

import com.sun.corba.se.impl.encoding.CodeSetComponentInfo.CodeSetContext;
import com.sun.corba.se.pept.encoding.InputObject;
import com.sun.corba.se.pept.encoding.OutputObject;
import com.sun.corba.se.pept.protocol.MessageMediator;
import com.sun.corba.se.pept.transport.Acceptor;
import com.sun.corba.se.pept.transport.ConnectionCache;
import com.sun.corba.se.pept.transport.ContactInfo;
import com.sun.corba.se.pept.transport.EventHandler;
import com.sun.corba.se.pept.transport.ResponseWaitingRoom;
import com.sun.corba.se.spi.ior.IOR;
import com.sun.corba.se.spi.ior.iiop.GIOPVersion;
import com.sun.corba.se.spi.orb.ORB;
import com.sun.corba.se.spi.protocol.CorbaMessageMediator;
import com.sun.corba.se.spi.transport.CorbaConnection;
import com.sun.org.omg.SendingContext.CodeBase;

public class MyConnection implements CorbaConnection {

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

    }

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

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

    @Override
    public ContactInfo getContactInfo() {
        return new MyContactInfo();
    }

    @Override
    public EventHandler getEventHandler() {
        return new MyEventHandler();
    }

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

    @Override
    public boolean isBusy() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean isServer() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean read() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public void registerWaiter(MessageMediator messageMediator) {
        // TODO Auto-generated method stub

    }

    @Override
    public void sendWithoutLock(OutputObject outputObject) {
        // TODO Auto-generated method stub

    }

    @Override
    public void setConnectionCache(ConnectionCache connectionCache) {
        // TODO Auto-generated method stub

    }

    @Override
    public void setState(String state) {
        // TODO Auto-generated method stub

    }

    @Override
    public void setTimeStamp(long time) {
        // TODO Auto-generated method stub

    }

    @Override
    public boolean shouldRegisterReadEvent() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean shouldRegisterServerReadEvent() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public void unregisterWaiter(MessageMediator messageMediator) {
        // TODO Auto-generated method stub

    }

    @Override
    public InputObject waitForResponse(MessageMediator messageMediator) {
        // TODO Auto-generated method stub
        return null;
    }

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

    }

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

    }

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

    @Override
    public void clientReply_1_1_Put(MessageMediator x) {
        // TODO Auto-generated method stub

    }

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

    }

    @Override
    public MessageMediator clientRequestMapGet(int requestId) {
        // TODO Auto-generated method stub
        return null;
    }

    public void closeConnectionResources() {
        // TODO Auto-generated method stub

    }

    @Override
    public void dprint(String msg) {
        // TODO Auto-generated method stub

    }

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

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

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

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

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

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

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

    @Override
    public boolean isPostInitialContexts() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public void purgeCalls(SystemException systemException, boolean die,
            boolean lockHeld) {
        // TODO Auto-generated method stub

    }

    @Override
    public ByteBuffer read(int size, int offset, int length, long maxWaitTime)
            throws IOException {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public ByteBuffer read(ByteBuffer byteBuffer, int offset, int length,
            long maxWaitTime) throws IOException {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void sendCancelRequest(GIOPVersion giopVersion, int requestId)
            throws IOException {
        // TODO Auto-generated method stub

    }

    @Override
    public void sendCancelRequestWithLock(GIOPVersion giopVersion, int requestId)
            throws IOException {
        // TODO Auto-generated method stub

    }

    @Override
    public void sendCloseConnection(GIOPVersion giopVersion) throws IOException {
        // TODO Auto-generated method stub

    }

    @Override
    public void sendMessageError(GIOPVersion giopVersion) throws IOException {
        // TODO Auto-generated method stub

    }

    @Override
    public CorbaMessageMediator serverRequestMapGet(int requestId) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void serverRequestMapPut(int requestId,
            CorbaMessageMediator messageMediator) {
        // TODO Auto-generated method stub

    }

    @Override
    public void serverRequestMapRemove(int requestId) {
        // TODO Auto-generated method stub

    }

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

    }

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

    }

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

    @Override
    public void serverRequest_1_1_Put(MessageMediator x) {
        // TODO Auto-generated method stub

    }

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

    }

    @Override
    public void setCodeBaseIOR(IOR ior) {
        // TODO Auto-generated method stub

    }

    @Override
    public void setCodeSetContext(CodeSetContext csc) {
        // TODO Auto-generated method stub

    }

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

    }

    @Override
    public boolean shouldReadGiopHeaderOnly() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean shouldUseDirectByteBuffers() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public void write(ByteBuffer byteBuffer) throws IOException {
        // TODO Auto-generated method stub

    }

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

}
