All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alachisoft.ncache.client.internal.communication.DistributedConstructorCall Maven / Gradle / Ivy

There is a newer version: 5.3.0
Show newest version
package com.alachisoft.ncache.client.internal.communication;

import Alachisoft.NCache.Common.Communication.IChannelFormatter;
import Alachisoft.NCache.Common.Extensibility.Client.RPC.IRPCConstructorCall;
import Alachisoft.NCache.Common.Extensibility.Client.RPC.RPCCallInfo;
import Alachisoft.NCache.Common.Extensibility.Client.RPC.TargetType;

class DistributedConstructorCall extends DistributedRPCCallBase implements IRPCConstructorCall {
    public Object[] arguments;
    public java.lang.Class objectType;
    public String objectUid;

    public DistributedConstructorCall(RPCTransport transmport, IChannelFormatter formatter) {
        super(transmport, formatter);
    }

    public Class GetObjectType() {
        return objectType;
    }

    public void SetObjectType(Class objectType) {
        this.objectType = objectType;
    }

    public Object[] GetArguments() {
        return arguments;
    }

    public void SetArguments(Object[] arguments) {
        this.arguments = arguments;
    }

    public String GetObjectUid() {
        return objectUid;
    }

    public void SetObjectUid(String objectUid) {
        this.objectUid = objectUid;
    }

    public RPCCallInfo CreateRPCCallInfo() {
        RPCCallInfo tempVar = new RPCCallInfo();
        tempVar.setTarget(objectType.toString());
        tempVar.setObjectUID(objectUID);
        tempVar.setTargetType(TargetType.Constructor);
        return tempVar;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy