Sha256: f50ee466c5c4bb70b276f9f166124ed6e724e06c2e0ffa4de0455483569fef4c
Contents?: true
Size: 864 Bytes
Versions: 14
Compression:
Stored size: 864 Bytes
Contents
package com.rho.rhoelements.npapi; import com.rho.rhoelements.activex.ActiveXFactory; public class NewHuddle extends Huddle { String ObjectType; String ObjectID; private HuddleParser myParser; NewHuddle(HuddleParser parser) throws Exception { // get ActiveX Type myParser = parser; myParser.getNextChunk(); if (myParser.currentChunk.type != ACTIVEX_TYPE) { throw new Exception("Expecting ACTIVEX_TYPE message type, found " + myParser.currentChunk.type); } ObjectType = myParser.currentChunk.payload; myParser.getNextChunk(); if (myParser.currentChunk.type != ACTIVEX_ID) { throw new Exception("Expecting ACTIVEX_ID message type, found " + myParser.currentChunk.type); } ObjectID = myParser.currentChunk.payload; } @Override public String[] execute() { ActiveXFactory.create(ObjectType, ObjectID); return null; } }
Version data entries
14 entries across 14 versions & 1 rubygems