Create a new Conversation

@param members
@param name
@param attributes
@param isTransient
@param callback
770441
public void createConversation(final List<String> members, final String name, final Map<String, Object> attributes,
                                 final boolean isTransient, final AVIMConversationCreatedCallback callback) {
    this.createConversation(members, name, attributes, isTransient, !isTransient, callback);
  }
503393
private synchronized Simon createSimon(String name, Class<? extends AbstractSimon> simonClass) {
		AbstractSimon simon = allSimons.get(name);
		if (simon == null) {
			SimonUtils.validateSimonName(name);
			simon = newSimon(name, simonClass);
		} else if (simon instanceof UnknownSimon) {
			simon = replaceUnknownSimon(simon, simonClass);
		}
		callback.onSimonCreated(simon);
		return simon;
	}
323449
private void init(AttributeSet attrs) {
        inflate(getContext(), R.layout.intl_phone_input, this);

        /**+
         * Country spinner
         */
        mCountrySpinner = (Spinner) findViewById(R.id.intl_phone_edit__country);
        mCountrySpinnerAdapter = new CountrySpinnerAdapter(getContext());
        mCountrySpinner.setAdapter(mCountrySpinnerAdapter);

        mCountries = CountriesFetcher.getCountries(getContext());
        mCountrySpinnerAdapter.addAll(mCountries);
        mCountrySpinner.setOnItemSelectedListener(mCountrySpinnerListener);

        setFlagDefaults(attrs);

        /**
         * Phone text field
         */
        mPhoneEdit = (EditText) findViewById(R.id.intl_phone_edit__phone);
        mPhoneEdit.addTextChangedListener(mPhoneNumberWatcher);

        setDefault();
        setEditTextDefaults(attrs);
    }
1221410
function createConversationUpdate(args, membersAdded, membersRemoved) {
    let conversationUpdateActivity = createActivity({
        type: activitytypes.conversationupdate,
        recipient: args[args.botId],
        conversationId: args.conversation.id
    });
    conversationUpdateActivity.membersAdded = membersAdded || [];
    conversationUpdateActivity.membersRemoved = membersRemoved || [];
    conversationUpdateActivity.timestamp = getIncrementedDate(100);
    return conversationUpdateActivity;
}
554361
public void write_attribute_asynch(final DeviceProxy deviceProxy,
	    final DeviceAttribute[] attribs, final CallBack cb) throws DevFailed {
        final int id = write_attribute_asynch(deviceProxy, attribs);
        ApiUtil.set_async_reply_model(id, CALLBACK);
        ApiUtil.set_async_reply_cb(id, cb);

        // if push callback, start a thread to do it
        if (ApiUtil.get_asynch_cb_sub_model() == PUSH_CALLBACK) {
            final AsyncCallObject aco = ApiUtil.get_async_object(id);
            new CallbackThread(aco).start();
        }
    }
1083864
public AVIMConversation getConversation(String conversationId, boolean isTransient, boolean isTemporary) {
    return this.getConversation(conversationId, isTransient, isTemporary,false);
  }
971515
function UMLMessage() {
        UMLDirectedRelationship.apply(this, arguments);

        /** @member {string} */
        this.messageSort = MS_SYNCHCALL;

        /** @member {UMLOperation} */
        this.signature = null;

        /** @member {UMLConnector} */
        this.connector = null;

        /** @member {string} */
        this["arguments"] = '';

        /** @member {string} */
        this.assignmentTarget = '';

        /** @member {string} */
        this.guard = '';

        /** @member {string} */
        this.iteration = '';

        /** @member {boolean} */
        this.isConcurrentIteration = false;
    }
1024255
public void onMemberInfoUpdated(AVIMClient client, AVIMConversation conversation,
                                  AVIMConversationMemberInfo memberInfo, List<String> updatedProperties, String operator) {
    LOGGER.d("Notification --- " + operator + " updated memberInfo: " + memberInfo.toString());
  }
800114
public void sessionAttributeAccessed(ISession session, Object name, Object value) {
        _sessionStateEventDispatcher.sessionAttributeAccessed(session, name, value);

    }
1190468
public ParticipantListener createSessionListener(String sessionId, ISessionUpdate callback) {
        return SessionService.create(self, sessionId, eventManager, callback);
    }
479433
public void getMemberInfo(final String memberId, final AVIMConversationMemberQueryCallback callback) {
    QueryConditions conditions = new QueryConditions();
    conditions.addWhereItem("cid", QueryOperation.EQUAL_OP, this.conversationId);
    conditions.addWhereItem("peerId", QueryOperation.EQUAL_OP, memberId);
    queryMemberInfo(conditions, callback);
  }
125875
public Conversation conversation(Member author, String content) {
        return conversation(author, content, null);
    }
163831
public void tell (ClientObject caller, Name target, String message, TellListener listener)
        throws InvocationException
    {
        BodyObject source = _locator.forClient(caller);

        // ensure that the caller has normal chat privileges
        InvocationException.requireAccess(source, ChatCodes.CHAT_ACCESS);

        // deliver the tell message to the target
        deliverTell(createTellMessage(source, message), target, listener);

        // inform the auto-responder if needed
        BodyObject targobj;
        if (_autoRespond != null && (targobj = _locator.lookupBody(target)) != null) {
            _autoRespond.sentTell(source, targobj, message);
        }
    }
1000917
void sendEvent(CallEvent call) throws NoConnectionsException, IOException, ProcCallException {
        if (call.endTS == null) {
            assert(call.startTS != null);
            // null callback isn't ideal for production code, but errors are tracked
            // here through client stats so we'll let it slide
            client.callProcedure(new NullCallback(), "BeginCall",
                    call.agentId, call.phoneNoStr(), call.callId, call.startTS);
        }
        else {
            assert(call.startTS == null);
            client.callProcedure(new NullCallback(), "EndCall",
                    call.agentId, call.phoneNoStr(), call.callId, call.endTS);
        }
    }
816987
void setAttr(String name, int flags)
    {

        if (null == m_attrs)
            m_attrs = new StringToIntTable();

        m_attrs.put(name, flags);
    }
852368
public void addParticipants(@NonNull final String conversationId, @NonNull final List<Participant> participants, @Nullable Callback<ComapiResult<Void>> callback) {
        adapter.adapt(addParticipants(conversationId, participants), callback);
    }
1021735
private void newTranslet(MethodType requestMethod, String requestName, TransletRule transletRule,
                             Translet parentTranslet) {
        translet = new CoreTranslet(transletRule, this);
        translet.setRequestName(requestName);
        translet.setRequestMethod(requestMethod);
        if (parentTranslet != null) {
            translet.setProcessResult(parentTranslet.getProcessResult());
        }
    }