public Vlingo.Http.Resource.IServer StartWith(Vlingo.Actors.Stage stage, Vlingo.Http.Resource.Resources resources, int port, Vlingo.Http.Resource.Configuration.SizingConf sizing, Vlingo.Http.Resource.Configuration.TimingConf timing) { if (!this.actor.IsStopped) { Action <Vlingo.Http.Resource.IServer> cons128873 = __ => __.StartWith(stage, resources, port, sizing, timing); if (this.mailbox.IsPreallocated) { this.mailbox.Send(this.actor, cons128873, null, StartWithRepresentation3); } else { this.mailbox.Send(new LocalMessage <Vlingo.Http.Resource.IServer>(this.actor, cons128873, StartWithRepresentation3)); } } else { this.actor.DeadLetters.FailedDelivery(new DeadLetter(this.actor, StartWithRepresentation3)); } return(null !); }
public Vlingo.Wire.Fdx.Bidirectional.IServerRequestResponseChannel Start(Vlingo.Actors.Stage stage, Vlingo.Actors.IAddress address, string mailboxName, Vlingo.Wire.Channel.IRequestChannelConsumerProvider provider, int port, string name, int processorPoolSize, int maxBufferPoolSize, int maxMessageSize, long probeInterval, long probeTimeout) { if (!this.actor.IsStopped) { Action <Vlingo.Wire.Fdx.Bidirectional.IServerRequestResponseChannel> cons1871902676 = __ => __.Start(stage, address, mailboxName, provider, port, name, processorPoolSize, maxBufferPoolSize, maxMessageSize, probeInterval, probeTimeout); if (this.mailbox.IsPreallocated) { this.mailbox.Send(this.actor, cons1871902676, null, StartRepresentation2); } else { this.mailbox.Send( new LocalMessage <Vlingo.Wire.Fdx.Bidirectional.IServerRequestResponseChannel>(this.actor, cons1871902676, StartRepresentation2)); } } else { this.actor.DeadLetters.FailedDelivery(new DeadLetter(this.actor, StartRepresentation2)); } return(null !); }
public Vlingo.Http.Resource.IServer StartWith(Vlingo.Actors.Stage stage) { if (!this.actor.IsStopped) { Action <Vlingo.Http.Resource.IServer> cons128873 = __ => __.StartWith(stage); if (this.mailbox.IsPreallocated) { this.mailbox.Send(this.actor, cons128873, null, StartWithRepresentation1); } else { this.mailbox.Send(new LocalMessage <Vlingo.Http.Resource.IServer>(this.actor, cons128873, StartWithRepresentation1)); } } else { this.actor.DeadLetters.FailedDelivery(new DeadLetter(this.actor, StartWithRepresentation1)); } return(null !); }
public Vlingo.Symbio.Store.Journal.IJournal <T> Using <TActor, TEntry, TState>(Vlingo.Actors.Stage stage, IDispatcher <Dispatchable <TEntry, TState> > dispatcher, System.Object[] additional) where TActor : Vlingo.Actors.Actor where TEntry : IEntry <T> where TState : class, IState { if (!this.actor.IsStopped) { Action <Vlingo.Symbio.Store.Journal.IJournal <T> > cons128873 = __ => __.Using <TActor, TEntry, TState>(stage, dispatcher, additional); if (this.mailbox.IsPreallocated) { this.mailbox.Send(this.actor, cons128873, null, UsingRepresentation1); } else { this.mailbox.Send( new LocalMessage <Vlingo.Symbio.Store.Journal.IJournal <T> >(this.actor, cons128873, UsingRepresentation1)); } } else { this.actor.DeadLetters.FailedDelivery(new DeadLetter(this.actor, UsingRepresentation1)); } return(null !); }